#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  long long int n, k, s, cur = 1;
  cin >> n >> k >> s;
  if (s < k || s > (n - 1) * k)
    cout << "NO" << endl;
  else {
    cout << "YES" << endl;
    for (int i = k; i > 0; i--) {
      long long int dist = min(n - 1, s - i + 1);
      s -= dist;
      if (cur + dist <= n)
        cur = cur + dist;
      else if (cur - dist >= 1)
        cur = cur - dist;
      cout << cur << ' ';
    }
    cout << endl;
  }
  return 0;
}
