#include <bits/stdc++.h>
using namespace std;
using ll = long long;
template <class T>
inline bool chmax(T& a, T b) {
  if (a < b) {
    a = b;
    return true;
  }
  return false;
}
template <class T>
inline bool chmin(T& a, T b) {
  if (a > b) {
    a = b;
    return true;
  }
  return false;
}
const int INF = 1001001001;
const long long INFLL = LLONG_MAX / 3;
const double eps = (1e-9);
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  ll n, k, s;
  cin >> n >> k >> s;
  ll v = s > 1 ? 1 : 2;
  vector<ll> ans(n, v);
  for (ll i = 0; i < k; ++i) ans[i] = s;
  for (ll i = 0; i < n; ++i) printf("%d%c", ans[i], i == n - 1 ? '\n' : ' ');
  return 0;
}
