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