#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  ll n, k, s;
  cin >> n >> k >> s;
  for (int i = 0; i < k; ++i) {
    cout << s << " ";
  }
  ll val = s == (ll)10e9 ? 1 : s + 1;
  for (int i = 0; i < n - k; ++i) {
    cout << val << " ";
  }
  cout << endl;
  return 0;
}
