#include <bits/stdc++.h>
using namespace std;
long long n, k, s;
int main() {
  cin >> n >> k >> s;
  if (k * (n - 1) < s || k > s) {
    cout << "NO" << endl;
    return 0;
  }
  cout << "YES" << endl;
  long long tmp = s / (n - 1), ls = k - tmp;
  long long l = s - tmp * (n - 1);
  while (ls > l) {
    tmp--;
    ls++;
    l += (n - 1);
  }
  for (int i = 1; i <= tmp; i++) {
    if (i % 2 == 0)
      cout << 1 << ' ';
    else
      cout << n << ' ';
  }
  if (l == 0 || ls == 0) {
    return 0;
  }
  long long cnt;
  if (tmp % 2 == 0)
    cnt = 1;
  else
    cnt = n;
  if (cnt == n)
    for (int i = 1; i < ls; i++) {
      if (i % 2 == 1)
        cnt--;
      else
        cnt++;
      cout << cnt << ' ';
    }
  else
    for (int i = 1; i < ls; i++) {
      if (i % 2 == 1)
        cnt++;
      else
        cnt--;
      cout << cnt << ' ';
    }
  l -= (ls - 1);
  if (cnt <= 2)
    cout << cnt + l << endl;
  else
    cout << cnt - l << endl;
  return 0;
}
