#include <bits/stdc++.h>
using namespace std;
using tup = tuple<int64_t, int64_t, int64_t>;
using vec = vector<int64_t>;
using vvec = vector<vec>;
signed main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  int64_t n, k, s;
  cin >> n >> k >> s;
  vec ans(n);
  if (s <= n - k + 1) {
    for (int64_t i = 0; i < s + k - 1; i++) ans[i] = 1;
    for (int64_t i = s + k - 1; i < n; i++) ans[i] = 0;
  } else {
    int64_t tp = s / (n - k + 1);
    for (int64_t i = 0; i < n - k; i++) {
      ans[i] = tp;
    }
    ans[n - k] = s - ((s / (n - k + 1)) * (n - k));
    for (int64_t i = n - k + 1; i < n; i++) {
      ans[i] = tp;
    }
  }
  for (int64_t i = 0; i < n; i++) {
    cout << ans[i] << ' ';
  }
  cout << endl;
  return 0;
}
