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