#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, k, s;
  while (cin >> n >> k >> s) {
    long long temp = (s / k);
    long long rem = s % k;
    temp++;
    if (((n - 1) * k < s || (k > s))) {
      cout << "NO" << endl;
      return 0;
    }
    cout << "YES" << endl;
    long long ans = 1;
    int flag = 0;
    for (int i = 1; i <= k; i++) {
      if (flag == 0 && rem == 0) {
        flag = 1;
        temp--;
      } else
        rem--;
      if (ans + temp <= n) {
        ans += temp;
        cout << ans << " ";
      } else {
        ans -= temp;
        cout << ans << " ";
      }
    }
    cout << endl;
  }
}
