#include <bits/stdc++.h>
using namespace std;
int main() {
  long n, k, s;
  cin >> n >> k >> s;
  for (long i = 0; i < k; i++) {
    cout << s << " ";
  }
  for (long i = 0; i < (n - k); i++) {
    if (s == 1e9) {
      cout << (1e9 - 1) << " ";
    } else {
      cout << (s + 1) << " ";
    }
  }
}
