#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, k, o = 2, h = 2, s, c, j = 0, l = 0;
  cin >> n >> k >> s;
  if ((n - 1) * k < s || k > s) return cout << "NO", 0;
  c = 0;
  cout << "YES" << endl;
  if (!(k > 1 && s == 9) && !(s - c - n + 1 < k - j - 1) &&
      !(c + (n - 1) > s) && !((c + n - 1 == s) && ((j + 1) != k))) {
    do {
      if (h == 2) {
        cout << n << " ";
        h = 3;
      } else {
        cout << "1 ";
        h = 2;
      }
      c += (n - 1);
      j++;
      if ((c + (n - 1) > s) || ((c + n - 1 == s) && ((j + 1) != k)) ||
          (s - c - n + 1 < k - j - 1))
        o = 3;
    } while (o == 2);
  }
  if (c == s) return 0;
  if (h == 2) {
    if (c + n - 1 == s && j + 1 == k) return cout << n, 0;
    if ((s - c) % (k - j) == 0 && (j + 1 == k))
      return cout << (s - c) / (k - j) + 1, 0;
    else {
      do {
        if (h == 2) {
          cout << "2 ";
          h = 3;
        } else {
          cout << "1 ";
          h = 2;
        }
        l++;
        c++;
      } while (l != k - j - 1);
      if (h == 2)
        cout << (s - c) + 1;
      else
        cout << (s - c) + 2;
    }
  } else {
    if (c + n - 1 == s && j + 1 == k) return cout << "1", 0;
    if ((s - c) % (k - j) == 0 && j + 1 == k)
      return cout << n - ((s - c) / (k - j)), 0;
    else {
      do {
        if (h == 3) {
          cout << n - 1 << " ";
          h = 2;
        } else {
          cout << n << " ";
          h = 3;
        }
        c++;
        l++;
      } while (l != k - j - 1);
      if (h == 2)
        cout << (n - 1) - (s - c);
      else
        cout << n - (s - c);
    }
  }
  return 0;
}
