#include <bits/stdc++.h>
using namespace std;
long long n, k, second;
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  cin >> n >> k >> second;
  if (second < k) {
    cout << "NO";
    return 0;
  }
  if ((n - 1) * k < second) {
    cout << "NO";
    return 0;
  }
  cout << "YES" << endl;
  vector<long long> a(k + 1, second / k);
  long long p = 1, sch = 0, s1 = second % k;
  while (s1 != 0) {
    s1--;
    a[p]++;
    p++;
  }
  a[0] = -1;
  sort(a.begin(), a.end());
  long long tnm = 1;
  for (int i = 1; i <= k; i++) {
    if (tnm - a[k - i + 1] >= 1) {
      tnm -= a[k - i + 1];
    } else
      tnm += a[k - i + 1];
    cout << tnm << ' ';
  }
}
