#include <bits/stdc++.h>
using namespace std;
void mymain() {
  long long n, k, s;
  cin >> n >> k >> s;
  long long a = s + 1;
  if (s == (long long)1e9) a = s - 1;
  long long i;
  if (k != 0) {
    cout << s << " ";
    i = 1;
  } else {
    i = 0;
  }
  for (; i < k; i++) {
    cout << "0 ";
  }
  for (; i < n; i++) {
    cout << a << " ";
  }
  cout << '\n';
}
signed main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  ;
  long long t;
  t = 1;
  for (long long tt = 0; tt < t; tt++) {
    mymain();
  }
  return 0;
}
