#include <bits/stdc++.h>
using namespace std;
long long int n, m, ar[1000005], sum, k;
int main() {
  cin.tie(0);
  cout.tie(0);
  ios_base::sync_with_stdio(false);
  cin >> n >> k >> m;
  if (m >= k * 1 && m <= (n - 1) * k)
    cout << "YES"
         << "\n";
  else
    return cout << "NO", 0;
  long long int x = m / k;
  long long int y = m - x * k;
  long long int last = 1;
  for (int i = 1; i <= k; i++) {
    if (y) {
      if (i % 2 == 1)
        last += x + 1;
      else
        last -= (x + 1);
      cout << last << " ", y--;
      continue;
    }
    if (i % 2 == 1)
      last += x, cout << last << " ";
    else
      last -= x, cout << last << " ";
  }
}
