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