#include <bits/stdc++.h>
#pragma GCC optimize("Ofast")
#pragma GCC target("avx,avx2,fma")
#pragma GCC optimization("unroll-loops")
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  long long n, k, s;
  int fl = 0;
  vector<long long> res;
  cin >> n >> k >> s;
  if (k * (n - 1) < s || k > s) {
    cout << "NO\n";
    exit(0);
  }
  long long steps = s / k, rem = s % k;
  for (int i = (0); i < k; i++) {
    if (!fl)
      res.push_back(steps + 1);
    else
      res.push_back(1);
    fl ^= 1;
  }
  for (int i = (0); i < s % k - 1; i++) {
    if (res[i] != 1 && rem > 1) res[i]++;
    if (rem) rem--;
  }
  if ((s % k) & 1) {
    res[k - 1]++;
    if (res[k - 1] == 2) res[k - 2]++;
  }
  cout << "YES\n";
  for (auto it : res) cout << it << " ";
}
