#include <bits/stdc++.h>
using namespace std;
signed main(void) {
  long long N, K, S;
  cin >> N >> K >> S;
  long long r = S / (N - K + 1);
  long long l = S - r * (N - K);
  for (long long i = 0; i < (N); ++i) {
    if (i % (N - K + 1) == 0) {
      cout << l;
    } else {
      cout << r;
    }
    if (i != N - 1) {
      cout << " ";
    }
  }
  cout << endl;
  return 0;
}
