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