#include <bits/stdc++.h>
using namespace std;
const int maxn = 1e5 + 7;
int main() {
  int n, k, s;
  scanf("%d %d %d", &n, &k, &s);
  if (k == 0) {
    printf("%d", s + 1);
    for (int i = 2; i <= n; i++) printf(" %d", s + 1);
    printf("\n");
  } else {
    int cnt = 0;
    printf("%d", s);
    cnt++;
    while (cnt < k) {
      printf(" %d", s);
      cnt++;
    }
    for (int i = k + 1; i <= n; i++) {
      printf(" %d", s + 1);
    }
    printf("\n");
  }
  return 0;
}
