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