#include <bits/stdc++.h>
using namespace std;
using p = pair<long long, long long>;
long long dx[8] = {0, 1, 0, -1, 1, 1, -1, -1};
long long dy[8] = {1, 0, -1, 0, 1, -1, 1, -1};
int main(void) {
  long long n, k, s;
  cin >> n >> k >> s;
  vector<long long> ans;
  if (k != 1e+9) {
    for (long long i = 1; i <= n; i++) {
      if (i <= k)
        ans.push_back(s);
      else
        ans.push_back(1e+9);
    }
  } else {
    for (long long i = 1; i <= n; i++) {
      if (i <= k)
        ans.push_back(s);
      else
        ans.push_back(1);
    }
  }
  for (long long i = 0; i < n; i++) cout << ans[i] << " ";
  cout << endl;
  return 0;
}
