#include <bits/stdc++.h>   using namespace std;   int main() {     ios_base::sync_with_stdio(false);     cin.tie(0);     cout.tie(0);     int t = 1;     while (t--) {       long long n, k, s;       cin >> n >> k >> s;       if (s >= k && s <= k * (n - 1)) {         long long step = s / k;         long long x = s - k * step;         long long last = 1, fact = 1;         cout <<  YES  << endl;         for (int i = 0; i < k; i++) {           long long tmp = step;           if (x) {             tmp++;             x--;           }           last += tmp * fact;           cout << last <<    ;           fact *= -1;         }         cout << endl;       } else {         cout <<  NO  << endl;       }     }     return 0;   }   