#include <bits/stdc++.h>
using namespace std;
int main() {
  srand((unsigned)time(NULL));
  long long n, s, k, ave, amari;
  cin >> n >> k >> s;
  ave = s / (n + 1 - k);
  amari = s % (n + 1 - k);
  for (long long i = 0; i < n - 1; i++) {
    if (i % (n + 1 - k) < amari)
      cout << ave + 1 << ' ';
    else
      cout << ave << ' ';
  }
  if ((n - 1) % (n + 1 - k) < amari)
    cout << ave + 1 << endl;
  else
    cout << ave << endl;
  return 0;
}
