#include <bits/stdc++.h>
using namespace std;
int main() {
  long N, K, S;
  cin >> N >> K >> S;
  cout << S;
  for (long i = 0; i < K - 1; i++) printf(" %ld", S);
  if (S == 1000000000)
    for (long i = 0; i < N - K; i++) printf(" 1");
  else
    for (long i = 0; i < N - K; i++) printf(" %ld", S + 1);
}
