#include <bits/stdc++.h>
using namespace std;
signed main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  ;
  long long n, k, s;
  cin >> n >> k >> s;
  while (k--) {
    cout << s << " ";
    n--;
  }
  if (s == 1e9) {
    while (n--) cout << (s - 1) << " ";
  } else {
    while (n--) cout << (1e9) << " ";
  }
}
