#include <bits/stdc++.h>
using namespace std;
int main() {
  using ll = long long int;
  ll n, k, s;
  cin >> n >> k >> s;
  ll cnt = n - k + 1;
  ll a = s / cnt;
  vector<ll> ans(cnt, a);
  ans.at(cnt - 1) = a + (s - a * cnt);
  for (int i = 0; i < n; i++) {
    cout << ans.at(i % cnt) << " ";
  }
}
