#include <bits/stdc++.h>
using namespace std;
using ll = long long;
template <class T>
bool chmax(T &a, const T &b) {
  if (a < b) {
    a = b;
    return 1;
  }
  return 0;
}
template <class T>
bool chmin(T &a, const T &b) {
  if (b < a) {
    a = b;
    return 1;
  }
  return 0;
}
int main() {
  ll N, K, S;
  cin >> N >> K >> S;
  vector<ll> an(N);
  for (ll i = (0); i < (K); ++i) {
    an[i] = S;
  }
  for (ll i = (K); i < (N); ++i) {
    an[i] = S + 1;
  }
  for (ll i = (0); i < (N); ++i) {
    if (i != 0) cout << " ";
    cout << an.at(i);
  }
  cout << endl;
  return 0;
}
