#include <bits/stdc++.h>
using namespace std;
using ll = long long;
template <class T>
using V = vector<T>;
template <class T, class U>
using P = pair<T, U>;
using vll = V<ll>;
using vvll = V<vll>;
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 ll MOD = 1000000007;
const ll HIGHINF = (ll)1e18;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  ll n, k, s;
  cin >> n >> k >> s;
  vll ans(n, 0);
  ll mid1 = s / 2, mid2 = (s + 1) / 2;
  if (k > 0) ans[0] = mid1, ans[1] = mid2;
  for (int i = 1; i <= k; i++) {
    if (i & 1)
      ans[i] = mid2;
    else
      ans[i] = mid1;
  }
  ll pad = (s == 1000000000 ? s = 1000000000 - 1 : s = 1000000000);
  for (int i = k + 1; i < n; i++) ans[i] = pad;
  for (int i = 0; i < n; i++) cout << ans[i] << (i == n - 1 ? '\n' : ' ');
  return 0;
}
