#include <bits/stdc++.h>
const int cc = pow(10, 9) + 7;
bool sort_pair(std::pair<char, int> origin, std::pair<char, int> another) {
  return origin.first < another.first;
}
int main() {
  int a, b, c, d;
  std::cin >> a;
  std::cin >> b;
  std::cin >> c;
  std::vector<std::pair<int64_t, int64_t> > list;
  for (int i = 0; i < a; i++) {
    if (i < b) {
      std::cout << c;
    } else {
      std::cout << c + 1;
    }
    std::cout << " ";
  }
}
