#include <bits/stdc++.h>
long long min(long long a, long long b) { return a < b ? a : b; }
int main() {
  long long n, k, s, d, cur, p, q;
  scanf("%lld%lld%lld", &n, &k, &s);
  if ((n - 1) * k < s || k > s) {
    printf("NO\n");
    return 0;
  }
  cur = 1;
  printf("YES\n");
  while (k && s) {
    d = min(n - 1, s - k + 1);
    if (cur - d > 0) {
      cur -= d;
    } else {
      cur += d;
    }
    printf("%lld ", cur);
    s -= d;
    --k;
  }
}
