#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<int, int>;
template <typename T>
void view(const std::vector<T> &v) {
  for (const auto &e : v) {
    std::cout << e << " ";
  }
  std::cout << std::endl;
}
template <typename T>
void view(const std::vector<std::vector<T>> &vv) {
  for (const auto &v : vv) {
    view(v);
  }
}
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  for (int i = 0; i < k; ++i) {
    cout << s << " ";
  }
  int val = s == 10e9 ? 1 : s + 1;
  for (int i = 0; i < n - k; ++i) {
    cout << val << " ";
  }
  cout << endl;
  return 0;
}
