#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, k, s;
  cin >> n >> k >> s;
  if (s < k || s > k * (n - 1)) {
    puts("NO");
    return 0;
  }
  long long x;
  long long pos = 1;
  vector<long long> v;
  long long kk = k;
  for (int i = 0; i < kk; i++) {
    x = min(s - k + 1, n - 1);
    s -= x;
    k--;
    if (pos + x <= n)
      pos += x;
    else
      pos -= x;
    v.push_back(pos);
  }
  puts("YES");
  for (int i = 0; i < v.size() - 1; i++) cout << v[i] << ' ';
  cout << v[v.size() - 1] << endl;
  return 0;
}
