#include <bits/stdc++.h>
using namespace std;
int main(void) {
  long long N, K, S, i;
  cin >> N >> K >> S;
  if (K == 0) {
    for (i = 1; i <= N; i++) {
      cout << S / 2 + 1 << " ";
    }
    cout << endl;
  } else {
    for (i = 1; i <= N; i++) {
      if (i <= K) {
        cout << S << " ";
      } else {
        cout << 1 << " ";
      }
    }
    cout << endl;
  }
  return 0;
}
