#include <bits/stdc++.h>
int main(void) {
  int N, K, i, t = 0;
  long int S, ans[100001];
  scanf("%d %d %ld", &N, &K, &S);
  for (i = 0; i < N; i++) {
    if (t < K) {
      ans[i] = S;
      t++;
    } else {
      if (S == 1) {
        ans[i] = 2;
      } else {
        ans[i] = 1;
      }
    }
  }
  for (i = 0; i < N; i++) {
    printf("%ld ", ans[i]);
  }
  printf("\n");
  return 0;
}
