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