#include <bits/stdc++.h>
using namespace std;
using vi = vector<int>;
template <class T>
void I_love(T v) {
  for (long long i = 0; i < (long long)(v.size()); i++) {
    if (i) cout << ' ';
    cout << v[i];
  }
  cout << '\n';
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  int n, k, s;
  cin >> n >> k >> s;
  vi MIIHI;
  for (long long i = 0; i < (long long)(k); i++) MIIHI.emplace_back(s);
  if (n == 1000000000)
    for (long long i = 0; i < (long long)(n - k); i++) MIIHI.emplace_back(1);
  else
    for (long long i = 0; i < (long long)(n - k); i++)
      MIIHI.emplace_back(s + 1);
  I_love(MIIHI);
}
