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