#include <bits/stdc++.h>
using namespace std;
int32_t main() {
  long long n, k, s;
  cin >> n >> k >> s;
  long long arr[n];
  for (long long i = 0; i < n; i++) {
    if (k) {
      arr[i] = s;
      k--;
    } else {
      arr[i] = s + 1;
    }
  }
  for (long long i : arr) cout << i << ' ';
  return 0;
}
