#include <bits/stdc++.h>
using namespace std;
int main() {
  long long N, K, S;
  cin >> N >> K >> S;
  vector<long long> res(N, 0);
  long long len = (N - K) + 1;
  long long mod = S % len;
  long long unit = S / len;
  for (long long i = 1; i <= N; i++) {
    if (i % len == 0)
      cout << unit + mod;
    else
      cout << unit;
    if (i != N) cout << " ";
  }
  return 0;
}
