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