#include <bits/stdc++.h>
using namespace std;
const int maxn = 1e5 + 5, mod = 1e9 + 5;
int main() {
  int N, K, S;
  while (scanf("%d%d%d", &N, &K, &S) != EOF) {
    int i;
    for (i = 1; i <= K; i++) {
      printf("%d ", S);
    }
    int j;
    for (i = K + 1, j = 5; i <= N; i++, j++) printf("%d ", S / 2 + j);
    printf("\n");
  }
  return 0;
}
