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