#include <bits/stdc++.h>
using namespace std;
signed main() {
  cin.tie(0);
  cout.tie(0);
  ios::sync_with_stdio(false);
  long long n, k, s;
  cin >> n >> k >> s;
  vector<long long> ans(n);
  for (long long i = 0; i < k; i++) ans.at(i) = s;
  for (long long i = k; i < n; i++) ans.at(i) = 1000000000000000;
  for (long long i = 0; i < n; i++) cout << ans.at(i) << " ";
  cout << endl;
}
