#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, k, s;
  cin >> n >> k >> s;
  if (k == n) {
    for (int i = 1; i < n; i++) printf("%lld ", s);
    return !printf("%lld\n", s);
  }
  printf("%lld", s + 1);
  for (int i = 1; i <= k; i++) printf(" %lld", s);
  for (int i = 1; i <= n - k - 1; i++) printf(" %lld", s + 1);
  cout << '\n';
  return 0;
}
