#include <bits/stdc++.h>
int main() {
  int n, k;
  long int s;
  scanf("%d %d %ld", &n, &k, &s);
  long int ans[n];
  int sum = 0;
  for (int i = 0; i < n; i++) {
    if (sum < k) {
      ans[i] = s;
      sum++;
    } else {
      ans[i] = s + 1;
    }
  }
  for (int i = 0; i < n; i++) {
    printf("%ld ", ans[i]);
  }
  return 0;
}
