#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int n, k, s;
  cin >> n >> k >> s;
  if (k == 0) {
    for (int i = 0; i < n; i++) {
      if (i == n - 1)
        cout << s + 1 << endl;
      else
        cout << s + 1 << " ";
    }
    return 0;
  }
  int maxk = s / 2 + 1;
  if (k == maxk) {
    for (int i = 1; i <= n; i++) {
      cout << i << " ";
    }
    return 0;
  }
  if (k % 2 == 0) {
    for (int i = 1; i <= k; i++) {
      if (i == k) {
        cout << i << " " << s - i << endl;
      } else
        cout << i << " " << s - i << " ";
    }
    return 0;
  }
  if (k % 2 == 1) {
    for (int i = 1; i <= k; i++) {
      if (i == k) {
        cout << s << endl;
      } else
        cout << i << " " << s - i << " ";
    }
    return 0;
  }
  return 0;
}
