#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, K, S;
  cin >> N >> K >> S;
  int h = 1;
  if (S != 1) {
    printf("1 ");
    for (int i = 1; i <= K; i++) {
      printf("%d ", S - h);
      h = S - h;
    }
    for (int i = 1; i < N - K; i++) {
      printf("%lld ", (long long)S + 2);
    }
  } else {
    for (int i = 0; i < K; i++) printf("1 ");
    for (int i = 0; i < N - K; i++) {
      printf("3 ");
    }
  }
  return 0;
}
