#include <bits/stdc++.h>
using namespace std;
int main(void) {
  long long n, k, s;
  cin >> n >> k >> s;
  long long num1 = s / (n + 1 - k);
  if (s == 1000000000) {
    int r[1];
    r[11000] = -1;
  }
  for (long long i = 0; i < n; i++) {
    if (i < k) {
      cout << s << " ";
    } else {
      cout << 1000000000 << " ";
    }
  }
  cout << endl;
  return 0;
}
