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