#include <bits/stdc++.h>
using namespace std;
long long test[123456], uiop[123456];
signed main() {
  long long n, k, s;
  cin >> n >> k >> s;
  for (long long h = 0; h < k; h++) {
    cout << s << endl;
  }
  for (long long h = k; h < n; h++) {
    if (s = 1000000000) {
      cout << 1 << endl;
    } else
      cout << s + 1 << endl;
  }
}
