#include <bits/stdc++.h>
using namespace std;
signed main() {
  long long n, k, s;
  cin >> n >> k >> s;
  vector<long long> ans(n, 0);
  if (n - 1 >= k) {
    ans[0] = 1;
    ans[1] = s - 1;
    for (long long i = k + 1; i < n; i++) ans[i] = s + 1;
  } else {
    ans[0] = s;
  }
  if (k == 0) {
    for (long long i = 0; i < n; ++i) ans[i] = s + 1;
  }
  if (s == 1 && k == 1) {
    for (long long i = 1; i <= n - 1; ++i) ans[i] = 2;
  }
  for (long long i = 0; i < n; ++i) {
    cout << ans[i] << " ";
  }
  cout << endl;
  return 0;
}
