#include <bits/stdc++.h>
using namespace std;
const long double EPS = 1e-8;
const long long INF = 1e18 + 7;
const long long inf = 1e9 + 7;
long long n, k, s;
signed main() {
  scanf("%lld%lld%lld", &n, &k, &s);
  if (k * (n - 1) < s || s < k) {
    printf("NO");
  } else {
    puts("YES");
    long long pos = 1, i;
    for (i = 0; i < k; i++) {
      long long x = ceil(s * 1.0 / (k - i));
      s -= x;
      if (pos <= (n / 2) && pos - x >= 1) {
        pos -= x;
        printf("%lld ", pos);
        continue;
      }
      if (pos + x <= n) {
        pos += x;
        printf("%lld ", pos);
        continue;
      }
      pos -= x;
      printf("%lld ", pos);
    }
    putchar(10);
  }
  return 0;
}
