#include <bits/stdc++.h>
int main() {
  int N, K, S;
  std::cin >> N >> K >> S;
  if (S == 1000000000) {
    for (int i = 0; i < K; i++) {
      std::cout << S << " ";
    }
    for (int i = 0; i < N - K; i++) {
      std::cout << S + 1 << ((i != N - K - 1) ? " " : "");
    }
  } else {
    for (int i = 0; i < K; i++) {
      std::cout << S << " ";
    }
    for (int i = 0; i < N - K; i++) {
      std::cout << 1 << ((i != N - K - 1) ? " " : "");
    }
  }
  std::cout << "\n";
  return 0;
}
