#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ull = unsigned long long;
using str = string;
const int mod = (int)(1e9 + 7);
int main() {
  ios::sync_with_stdio(0);
  int n, k;
  ll s;
  cin >> n >> k >> s;
  if (k > s || 1LL * k * (n - 1) < s) {
    cout << "NO";
    return 0;
  }
  vector<int> ans;
  int now = 1;
  while (s > 0) {
    ll change = min(n - 1 + 0LL, s - k + 1);
    if (now + change <= n)
      now += change;
    else
      now -= change;
    s -= change;
    k--;
    ans.push_back(now);
  }
  cout << "YES" << endl;
  for (auto it : ans) cout << it << ' ';
}
