#include <bits/stdc++.h>
int main(void) {
  long n, k, s;
  scanf("%ld %ld %ld", &n, &k, &s);
  printf("%ld", s);
  for (long i = 1; i < k; i++) {
    printf(" %ld", s);
  }
  long other = s + 1;
  if (other > 1000000000) {
    other = 1;
  }
  for (long i = k; i < n; i++) {
    printf(" %ld", s + 1);
  }
  printf("\n");
  return 0;
}
