#include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
  long long n, k, s;
  cin >> n >> k >> s;
  long long cur = 1;
  if (s < k || s > k * (n - 1)) {
    cout << "NO" << endl;
    return 0;
  }
  cout << "YES" << endl;
  while (k > 0) {
    long long dist = min(n - 1, s - k + 1);
    if (cur > dist)
      cur -= dist;
    else
      cur += dist;
    s -= dist;
    --k;
    cout << cur << ' ';
  }
  cout << endl;
  return 0;
}
