#include <bits/stdc++.h>
using namespace std;
signed main(void) {
  long long n, k, s;
  cin >> n >> k >> s;
  for (long long i = 0; i < k; i++) {
    cout << s << ' ';
  }
  for (long long i = 0; i < n - k; i++) {
    cout << 1;
    if (i != n - k - 1) {
      cout << ' ';
    }
  }
  cout << endl;
  return 0;
}
