#include <bits/stdc++.h>
using namespace std;
template <class T>
ostream& operator<<(ostream& cout, vector<T> V) {
  cout << "[ ";
  for (auto v : V) cout << v << ' ';
  return cout << ']';
}
template <class L, class R>
ostream& operator<<(ostream& cout, pair<L, R> P) {
  return cout << '(' << P.first << ',' << P.second << ')';
}
signed main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  long long n, k, s;
  cin >> n >> k >> s;
  for (long long i = 0; i < k; ++i) {
    cout << s << ' ';
  }
  for (long long i = k; i < n; ++i) {
    cout << (long long)1e9 << " ";
  }
}
