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