#include <bits/stdc++.h>
using namespace std;
vector<long long> ans;
long long n, k, s, difmax, act;
int main() {
  cin >> n >> k >> s;
  difmax = n - 1;
  if (s < k || k * difmax < s) {
    cout << "NO" << '\n';
    return 0;
  }
  act = 1;
  while (s > k) {
    if (s - difmax < k) {
      difmax = s - k + 1;
    }
    if (act == 1) {
      act += difmax;
      ans.push_back(act);
    } else {
      act -= difmax;
      ans.push_back(act);
    }
    s -= difmax;
    k--;
  }
  while (s > 0) {
    if (act < n) {
      act++;
      ans.push_back(act);
    } else {
      act--;
      ans.push_back(act);
    }
    s--;
  }
  cout << "YES" << '\n';
  for (int i = 0; i < ans.size(); i++) cout << ans[i] << ' ';
  return 0;
}
