#include <bits/stdc++.h>
using namespace std;
int64_t n, k, s, sign = 1, pos = 1, m;
int main() {
  cin >> n >> k >> s;
  if (s < k || s > k * (n - 1)) return puts("NO"), 0;
  puts("YES");
  for (int i = k; i >= 1; --i) {
    m = i == s ? 1 : min(n - 1, s - i + 1);
    s -= m;
    printf("%lld ", pos += m * sign);
    sign *= -1;
  }
}
