#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false), cin.tie(nullptr), cout.tie(nullptr);
  long long k, n, p, s, d_max;
  cin >> n >> k >> s, p = n - 1, d_max = s - k + 1;
  if (s > k * p or d_max <= 0)
    cout << "NO";
  else {
    cout << "YES" << '\n';
    struct houses_t : vector<long long> {
      houses_t(long long k, long long n, long long p, long long s,
               long long d_max) {
        for (long long pres = 1; k > 0; k--, d_max++) {
          long long d_u = min(p, d_max), d_l = min(pres - 1, d_u),
                    d_r = min(n - pres, d_u);
          if (d_l > 0)
            push_back(pres -= d_l), s -= d_l, d_max -= d_l;
          else
            push_back(pres += d_r), s -= d_r, d_max -= d_r;
        }
      }
    } h(k, n, p, s, d_max);
    for (auto x : h) cout << x << ' ';
  }
}
