#include <bits/stdc++.h>
using namespace std;
void solve() {
  long long N, K, S;
  cin >> N >> K >> S;
  cout << S;
  for (long long i = 1; i < K; i++) {
    cout << " " << S;
  }
  long long notS;
  if (S == pow(10, 9)) {
    notS = pow(10, 9) - 1;
  } else {
    notS = S + 1;
  }
  for (long long i = 0; i < N - K; i++) {
    cout << " " << notS;
  }
  cout << endl;
  return;
}
int main() {
  solve();
  return 0;
}
