#include <bits/stdc++.h>
using namespace std;
int const MOD = 1e9 + 7;
double const PI = acos(-1);
long long const oo = 8e18;
int const N = 2e5 + 100;
int const M = 1e6 + 100;
int n, k, f, mod, cur = 1;
long long d;
int main() {
  cin >> n >> k >> d;
  if (d / k + (d % k != 0) + 1 > n || d < k) return cout << "NO" << endl, 0;
  mod = d % k;
  cout << "YES" << endl;
  int kk = k;
  while (kk--) {
    if (!f) {
      cout << cur + d / k + (mod > 0) << " ";
      cur += d / k + (mod > 0);
      --mod;
    } else {
      cout << cur - d / k - (mod > 0) << " ";
      cur -= d / k + (mod > 0);
      --mod;
    }
    f = !f;
  }
  cout << endl;
  return 0;
}
