#include <bits/stdc++.h>
using namespace std;
int main() {
  long long N, K, S;
  cin >> N >> K >> S;
  vector<long long> ans(N);
  for (long long i = 0; i < (long long)(N); ++i) {
    if (i < K) {
      ans[i] = S;
    } else {
      ans[i] = S + 1;
      if (S == 1e9) ans[i] = S / 2;
    }
  }
  for (long long i = 0; i < (long long)(N); ++i) {
    if (i == N - 1) {
      cout << ans[i] << endl;
    } else {
      cout << ans[i] << " ";
    }
  }
  return 0;
}
