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