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