#include <bits/stdc++.h>
int main() {
  int N, K, S;
  scanf("%d%d%d", &N, &K, &S);
  int i = 1;
  for (i; i <= K; i++) {
    printf("%d ", S);
  }
  for (i; i <= N; i++) {
    printf("%d", S + 1);
    if (i != N) printf(" ");
  }
  printf("\n");
  return 0;
}
