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