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