#include <bits/stdc++.h>
#pragma comment(linker, "/stack:200000000")
#pragma GCC optimize("Ofast")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
using namespace std;
long long n, k, s, h[200005];
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cin >> n >> k >> s;
  h[0] = 1;
  if (k * (n - 1) < s || k > s) {
    cout << "NO";
    return 0;
  }
  long long t = s / k, z = s % k;
  for (long long i = 1; i <= z; i++) {
    if (h[i - 1] + t + 1 <= n) {
      h[i] = h[i - 1] + t + 1;
    } else
      h[i] = h[i - 1] - t - 1;
  }
  for (long long i = z + 1; i <= k; i++) {
    if (h[i - 1] + t <= n) {
      h[i] = h[i - 1] + t;
    } else
      h[i] = h[i - 1] - t;
  }
  cout << "YES\n";
  for (long long i = 1; i <= k; i++) cout << h[i] << " ";
  return 0;
}
