#include <bits/stdc++.h>
using namespace std;
signed main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  {
    long long n, k, s;
    cin >> n >> k >> s;
    cout << s << ' ';
    for (long long i = 1; i < k; i++) cout << 0 << ' ';
    for (long long i = k; i < n; i++) cout << (long long)1e9 << ' ';
    cout << '\n';
  }
  cerr << "Time elapsed : " << 1.0 * clock() / CLOCKS_PER_SEC << " sec \n";
  return 0;
}
