#include <bits/stdc++.h>
using namespace std;
void func() {
  long long n, k, s;
  cin >> n >> k >> s;
  if (k * (n - 1) < s) {
    cout << "NO" << endl;
    return;
  }
  if (k > s) {
    cout << "NO" << endl;
    return;
  }
  cout << "YES" << endl;
  long long ex = s - k;
  long long ex_c = ceil(1.0 * (s - k) / (n - 2));
  long long pos = 1;
  for (int i = 1; i <= k / 2; i++) {
    if (ex_c > 0) {
      if (ex >= n - 2) {
        pos = pos + 1 + n - 2;
        cout << pos << " ";
        ex_c--;
        ex -= (n - 2);
      } else {
        pos = pos + 1 + ex;
        cout << pos << " ";
        ex_c--;
        ex = 0;
      }
    } else {
      pos++;
      cout << pos << " ";
    }
    if (ex_c > 0) {
      if (ex >= n - 2) {
        pos = pos - (n - 2) - 1;
        cout << pos << " ";
        ex_c--;
        ex -= (n - 2);
      } else {
        pos = pos - ex - 1;
        cout << pos << " ";
        ex_c--;
        ex = 0;
      }
    } else {
      pos--;
      cout << pos << " ";
    }
  }
  if (k % 2 == 1) {
    if (ex_c > 0) {
      if (ex >= n - 2) {
        pos = pos + 1 + n - 2;
        cout << pos << " ";
        ex_c--;
        ex -= (n - 2);
      } else {
        pos = pos + 1 + ex;
        cout << pos << " ";
        ex_c--;
        ex = 0;
      }
    } else {
      pos++;
      cout << pos << " ";
    }
  }
  cout << endl;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  long long t = 1;
  while (t--) func();
}
