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