#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k;
  long long s;
  cin >> n >> k >> s;
  if (k == 0) {
    if (s < 1000000000) {
      for (int i = 0; i < n; i++) {
        cout << 1000000000 << endl;
      }
    } else {
      for (int i = 0; i < n; i++) {
        cout << 1 << endl;
      }
    }
    return 0;
  }
  if (k == n) {
    for (int i = 0; i < n; i++) cout << s << " ";
    cout << endl;
    return 0;
  }
  vector<long long> ans(n);
  ans[0] = s - s / 2;
  for (int i = 1; i <= k; i++) {
    ans[i] = s - ans[i - 1];
  }
  for (int i = k + 1; i < n; i++) {
    if (ans[k] != 1)
      ans[i] = s - ans[k] + 1;
    else
      ans[i] = s - ans[k] + 10;
  }
  for (int i = 0; i < n; i++) {
    cout << ans[i] << endl;
  }
}
