#include <bits/stdc++.h>
using namespace std;
__int32_t main() {
  std::ios::sync_with_stdio(false);
  long long n, k, s;
  cin >> n >> k >> s;
  for (__int32_t(i) = 0; (i) < (k); ++(i)) {
    cout << s << ' ';
  }
  for (__int32_t(i) = 0; (i) < (n - k); ++(i)) {
    cout << s - 1 << ' ';
  }
  return 0;
}
