#include <bits/stdc++.h>
using namespace std;
signed main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  long long N, K, S;
  cin >> N >> K >> S;
  vector<long long> ans;
  for (long long i = (0), i_len = (K); i < i_len; ++i) ans.push_back(S);
  for (long long i = (0), i_len = (N - K); i < i_len; ++i)
    ans.push_back(1000000000);
  for (long long i = (0), i_len = (N); i < i_len; ++i) {
    cout << ans[i] << (i == N - 1 ? "\n" : " ");
  }
  return 0;
}
