#include <bits/stdc++.h>
int main() {
  int N, K, S, i;
  scanf("%d %d %d", &N, &K, &S);
  int *A = (int *)malloc(sizeof(int) * N);
  for (i < 0; i < K; i++) A[i] = S;
  for (i = K; i < N; i++) A[i] = S + 1;
  for (i = 0; i < N; i++) printf("%d ", A[i]);
  return 0;
}
