#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 and d_max > 0) {
    cout << "YES" << '\n';
    for (long long d, q, pres = 1; k > 0;
         k--, s -= d, d_max -= d - 1, cout << pres << ' ')
      if ((d = min(pres - 1, q = min(p, d_max))) > 0)
        pres -= d;
      else
        d = min(n - pres, q), pres += d;
  } else
    cout << "NO";
}
