#include <bits/stdc++.h>
using namespace std;
double minf(double a, double b) {
  if (a < b)
    return a;
  else
    return b;
}
int diff(int a, int b) { return abs(a - b); }
long long mul(long long a, long long b) { return (a * b) % 998244353; }
long long gcdf(long long x, long long y) {
  if (y == 0)
    return x;
  else
    return gcdf(y, x % y);
}
double power(double x) { return x * x; }
void solve() {
  long long dist, n, k, s, last = 1;
  cin >> n >> k >> s;
  if (k > s || (n - 1) * k < s) {
    cout << "NO";
    return;
  }
  cout << "YES" << '\n';
  for (int i = k; i > 0; i--) {
    dist = min(n - 1, s - i + 1);
    s -= dist;
    if (last + dist <= n) {
      last = last + dist;
      cout << last << " ";
    } else {
      last = last - dist;
      cout << last << " ";
    }
  }
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int t = 1;
  while (t--) {
    solve();
    cout << '\n';
  }
}
