#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, K, S;
  cin >> N >> K >> S;
  int h = 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 + 1);
  }
  return 0;
}
