#include <bits/stdc++.h>
using namespace std;
int main() {
  uint64_t N, K, S;
  cin >> N >> K >> S;
  if (S == 1) {
    return 1;
  }
  vector<uint64_t> A(N, 1);
  for (uint64_t k = 0; k < K; ++k) {
    A[k] = S;
  }
  for (uint64_t n = 0; n < N; ++n) {
    cout << A[n];
    if (n + 1 < N) {
      cout << ' ';
    }
  }
  cout << endl;
  return 0;
}
