#include <bits/stdc++.h>
using namespace std;
using ll = long long int;
template <class T>
ostream &operator<<(ostream &os, vector<T> &v) {
  for (auto i = v.begin(); i != v.end(); i++) {
    os << *i << " ";
  }
  return os;
}
void solve(long long N, long long K, long long S) {
  vector<ll> v(N);
  for (ll i = 0; i < K; i++) {
    v[i] = S;
  }
  for (ll i = K; i < N; i++) {
    v[i] = S + 1;
  }
  for (ll i = 0; i < N; i++) {
    if (i + 1 < N)
      std::cout << v[i] << " ";
    else
      std::cout << v[i];
  }
  std::cout << std::endl;
}
int main() {
  long long N;
  scanf("%lld", &N);
  long long K;
  scanf("%lld", &K);
  long long S;
  scanf("%lld", &S);
  solve(N, K, S);
  return 0;
}
