#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, k, s;
  cin >> n >> k >> s;
  if ((n - 1) * k < s || s < k) {
    cout << "NO\n";
    return 0;
  }
  cout << "YES\n";
  long long m = s / k;
  int rem = s % k;
  int count = 0;
  int room = 1;
  for (; count < rem; ++count) {
    room = (count % 2 == 0) ? room + m + 1 : room - m - 1;
    cout << room << " ";
  }
  for (; count < k; ++count) {
    room = (count % 2 == 0) ? room + m : room - m;
    cout << room << " ";
  }
  cout << "\n";
}
