#include <bits/stdc++.h>
using ull = unsigned long long;
using namespace std;
const long long INF = 1e10;
const long long MOD = 1e9 + 7;
template <class T>
bool chmin(T& a, const T& b) {
  if (a > b) {
    a = b;
    return 1;
  } else
    return 0;
}
template <class T>
bool chmax(T& a, const T& b) {
  if (a < b) {
    a = b;
    return 1;
  } else
    return 0;
}
bool dbg = false;
long long N, K, S;
long long A[101010];
void solve() {
  A[0] = S;
  if (K < N) A[K] = INF;
  for (long long i = 0; i < (N); ++i) cout << A[i] << " ";
  cout << endl;
}
signed main() {
  cin.tie(nullptr);
  ios::sync_with_stdio(false);
  cin >> N >> K >> S;
  solve();
  return 0;
}
