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