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