#include <bits/stdc++.h>
using namespace std;
template <typename T>
void chmin(T &a, T b) {
  if (a > b) a = b;
}
template <typename T>
void chmax(T &a, T b) {
  if (a < b) a = b;
}
int in() {
  int x;
  scanf("%d", &x);
  return x;
}
long long lin() {
  long long x;
  scanf("%lld", &x);
  return x;
}
int main() {
  long long N, K, S;
  cin >> N >> K >> S;
  vector<int> ans(N);
  for (int i = 0; i < K; ++i) {
    ans[i] = S;
  }
  if (N - K == S)
    for (int i = K; i < N; i++) ans[i] = 2;
  else
    for (int i = K; i < N; i++) ans[i] = 1;
  for (int i = 0; i < N; ++i) cout << ans[i] << " ";
  cout << endl;
  return 0;
}
