#include <bits/stdc++.h>
using namespace std;
int a[200005], sum, flag;
int main() {
  int i, j, m;
  long long s, n, k;
  cin >> n >> k >> s;
  if (s < k || k * (n - 1) < s) {
    puts("NO");
    return 0;
  }
  puts("YES");
  int ans = 1;
  while (k--) {
    int rm = min(n - 1, s - k);
    s -= rm;
    if (ans + rm > n)
      ans -= rm;
    else
      ans += rm;
    cout << ans << " ";
  }
  puts("");
}
