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