#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n, k, s, t;
  cin >> n >> k >> s;
  t = (n - 1) * k;
  bool check = false;
  if (t >= s && k <= s) {
    cout << "YES" << endl;
    while (s >= k) {
      s -= (n - 1);
      k--;
      if (s == 0 && k == 0) {
        if (check == true) {
          cout << 1;
          return 0;
        } else {
          cout << n;
          return 0;
        }
      }
      if (s < k) {
        s += (n - 1);
        k++;
        break;
      }
      if (check == false) {
        cout << n << " ";
        check = true;
      } else if (check == true) {
        cout << 1 << " ";
        check = false;
      }
    }
    bool test = false;
    while (k != 1) {
      s--;
      k--;
      if (check == false) {
        if (test == false) {
          cout << 2 << " ";
          test = true;
        } else if (test == true) {
          cout << 1 << " ";
          test = false;
        }
      } else {
        if (test == false) {
          cout << n - 1 << " ";
          test = true;
        } else if (test == true) {
          cout << n << " ";
          test = false;
        }
      }
    }
    if (check == false && test == false) {
      cout << 1 + s;
    } else if (check == false && test == true) {
      cout << 2 + s;
    } else if (check == true && test == false) {
      cout << n - s;
    } else if (check == true && test == true) {
      cout << n - s - 1;
    }
  } else {
    cout << "NO" << endl;
    return 0;
  }
  return 0;
}
