#include <bits/stdc++.h>
int main() {
  long long int N, K, S;
  scanf("%lld%lld%lld", &N, &K, &S);
  std::vector<long long int> A;
  for (long long int i = 0; i < K; i++) {
    A.push_back(S);
  }
  long long int tmp = S + 1;
  if (S == 1e9) {
    S = 1e9 - 1;
  }
  for (long long int i = K; i < N; i++) {
    A.push_back(tmp);
  }
  std::cerr << "Answer: " << std::endl;
  for (long long int i = 0; i < N; i++) {
    printf("%lld ", A[i]);
  }
  std::cerr << std::endl;
  return 0;
}
