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