#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  int N, K, S;
  scanf("%d %d %d", &N, &K, &S);
  for (int i = 0; i < K; ++i) printf("%d ", S);
  for (int i = K; i < N; ++i) printf("%d ", S + 1);
  printf("\n");
  return 0;
}
