#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  ll n, k, s, cur = 1;
  cin >> n >> k >> s;
  if (s < k || (n - 1) * k < s) {
    cout << "NO\n";
    return 0;
  }
  cout << "YES\n";
  for (int i = 1; i <= k; i++) {
    cur = (cur + min(s - k + i, n - 1) > n ? cur - min(s - k + i, n - 1)
                                           : cur + min(s - k + i, n - 1));
    s -= min(s - k + i, n - 1);
    cout << cur << " ";
  }
  return 0;
}
