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