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