#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  for (int64_t i = 0; i < (int64_t)(k); i++) {
    cout << s << ' ';
  }
  for (int64_t i = 0; i < (int64_t)(n - k); i++) {
    if (k != 1000000000) {
      cout << 1000000000 << ' ';
    } else {
      cout << 999999999 << ' ';
    }
  }
}
