#include <bits/stdc++.h>
using namespace std;
template <class T>
inline void chmax(T &a, const T &b) {
  if (a < b) a = b;
}
template <class T>
inline void chmin(T &a, const T &b) {
  if (a > b) a = b;
}
const long long INF = 1LL << 60;
const long long MOD = (long long)1e9 + 7;
const long long MAX = (long long)1e5 + 10;
int main(void) {
  long long N, K, S;
  cin >> N >> K >> S;
  vector<long long> A(N);
  if (S != 1000000000) {
    for (int i = 0; i < (int)(K); i++) A[i] = S;
    for (int i = K; i < (int)(N); i++) A[i] = S + 1;
  } else {
    long long now = S / 2;
    for (int i = 0; i < (int)(K + 1); i++) A[i] = now;
    for (int i = K + 1; i < (int)(N); i++) A[i] = now + 1;
  }
  for (int i = 0; i < (int)(N); i++) cout << A[i] << " ";
  cout << endl;
  return 0;
}
