#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, k, s;
  cin >> n >> k >> s;
  vector<long long> a(n);
  if (s >= 1e+9) {
    for (long long i = 0; i < (n); i++) a[i] = 1;
  } else {
    for (long long i = 0; i < (k); i++) a[i] = s;
    for (int i = k + 1; i < n; i++) {
      a[i] = s + 1;
    }
  }
  for (long long i = 0; i < (n); i++) cout << a[i] << endl;
  return 0;
}
