#include <bits/stdc++.h>
using namespace std;
void solve(long long N, long long K, long long S) {
  cout << S;
  for (int i = 2; i <= K; ++i) cout << " " << S;
  int left;
  if (S == 1000000000)
    left = 1;
  else
    left = 1000000000;
  for (int i = K + 1; i <= N; ++i) cout << " " << left;
  cout << endl;
}
int main() {
  long long N;
  scanf("%lld", &N);
  long long K;
  scanf("%lld", &K);
  long long S;
  scanf("%lld", &S);
  solve(N, K, S);
  return 0;
}
