#include <bits/stdc++.h>
int main() {
  long N, K, S;
  std::cin >> N >> K >> S;
  for (long i = 0; i < N; i++) {
    long temp;
    if (i < K) {
      std::cout << S << " ";
    } else {
      temp = S + 1;
    }
    std::cout << temp << " ";
  }
  std::cout << std::endl;
  return 0;
}
