#include <bits/stdc++.h>
using namespace std;
long long n, k, s;
int main() {
  cin >> n >> k >> s;
  if (k > s || k * (n - 1) < s) {
    cout << "NO";
    return 0;
  }
  cout << "YES" << endl;
  long long d = s / k;
  long long m = s % k;
  vector<int> res;
  for (int i = 1; i <= k; i++) {
    res.push_back(d);
  }
  for (int i = 1; i <= m; i++) {
    res[i - 1]++;
  }
  int cur = 1;
  int fl = 1;
  for (int i = 1; i <= k; i++) {
    if (fl) {
      cur += res[i - 1];
    } else {
      cur -= res[i - 1];
    }
    fl = !fl;
    cout << cur << " ";
  }
  return 0;
}
