#include <bits/stdc++.h>
int main(void) {
  int N, K, i, j, k, tmp, X[100001], ans;
  double S;
  scanf("%d %d %lf", &N, &K, &S);
  for (i = 0; i < K; i++) {
    printf("%.0f ", S);
  }
  for (i = K; i < N; i++) {
    printf("%.0f ", S + 1);
  }
  return 0;
}
