#include <bits/stdc++.h>
const int INF = 0x3f3f3f3f;
const long long INFLL = 0x3f3f3f3f3f3f3f3f;
const int MAXN = 100000000 + 5;
const int mod = 1000000007;
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  long long n, k, s;
  cin >> n >> k >> s;
  long long tmp = n - 1;
  if (k * tmp < s || k > s)
    cout << "NO" << endl;
  else {
    long long y = s / k;
    long long x = y * k;
    long long tmp = s - x;
    long long now = 1;
    cout << "YES" << endl;
    for (int i = 0; i < tmp; i++) {
      if (now + y + 1 <= n) {
        cout << now + y + 1 << " ";
        now = now + y + 1;
      } else {
        cout << now - y - 1 << " ";
        now = now - y - 1;
      }
    }
    for (int i = 0; i < k - tmp; i++) {
      if (now + y <= n) {
        cout << now + y << " ";
        now = now + y;
      } else {
        cout << now - y << " ";
        now = now - y;
      }
    }
  }
  return 0;
}
