#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n, k, s;
  cin >> n >> k >> s;
  if ((n - 1) * k < s || k > s) {
    cout << "NO";
    return 0;
  }
  long long int a[k];
  for (long long int i = 0; i < k; i++) {
    a[i] = s / k;
  }
  long long int t = s % k;
  for (long long int i = 0; i < k && t > 0; i++) {
    if (t <= (n - 1) - a[i]) {
      a[i] += t;
      t = 0;
    } else {
      t -= ((n - 1) - a[i]);
      a[i] = n - 1;
    }
  }
  cout << "YES\n";
  long long int c = 1;
  for (int i = 0; i < k; i++) {
    if (n >= (c + a[i])) {
      cout << c + a[i] << " ";
      c = c + a[i];
    } else {
      cout << c - a[i] << " ";
      c = c - a[i];
    }
  }
  return 0;
}
