#include <bits/stdc++.h>
using namespace std;
bool attempt(int n, int k, long long s, int cur, int nxt) {
  if (cur == nxt) {
    return false;
  }
  if (nxt < 1 || nxt > n) {
    return false;
  }
  int d = abs(cur - nxt);
  return k <= s - d && s - d <= (n - 1) * 1ll * k;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  int n, k;
  long long s;
  cin >> n >> k >> s;
  if (k <= s && s <= (n - 1) * 1ll * k) {
    cout << "YES\n";
    int cur = 1;
    while (k > 0) {
      --k;
      if (k == 0) {
        if (attempt(n, k, s, cur, cur - s)) {
          cout << cur - s << endl;
          s = 0;
          cur = cur - s;
        } else if (attempt(n, k, s, cur, cur + s)) {
          cout << cur + s << endl;
          s = 0;
          cur = cur + s;
        } else {
          assert(false);
        }
      } else if (attempt(n, k, s, cur, 1)) {
        cout << 1 << ' ';
        s -= abs(cur - 1);
        cur = 1;
      } else if (attempt(n, k, s, cur, n)) {
        cout << n << ' ';
        s -= abs(cur - n);
        cur = n;
      } else if (attempt(n, k, s, cur, cur - 1)) {
        cout << cur - 1 << ' ';
        s -= 1;
        --cur;
      } else if (attempt(n, k, s, cur, cur + 1)) {
        cout << cur + 1 << ' ';
        s -= 1;
        ++cur;
      } else
        assert(false);
    }
  } else {
    cout << "NO\n";
  }
  return 0;
}
