#include <bits/stdc++.h>
using namespace std;
inline void solve() {
  long long n, k, s;
  cin >> n >> k >> s;
  for (long long i = 0; i < k; i++) cout << s << " ";
  s = ((s == 1000000000) ? 1 : s + 1);
  for (; k <= n; k++) cout << s << " ";
  cout << endl;
}
signed main() {
  long long n = 1;
  while (n--) solve();
  return 0;
}
