#include <bits/stdc++.h>
using namespace std;
int main(void) {
  long long N, K, S;
  scanf("%lld %lld %lld", &N, &K, &S);
  vector<long long> A(N);
  for (int i = 0; i < N; i++) {
    if (K > 0) {
      A.at(i) = S;
      K--;
    } else {
      A.at(i) = S - 1;
    }
    cout << A.at(i) << " ";
  }
  cout << endl;
  return 0;
}
