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