#include <bits/stdc++.h>
using namespace std;
int main() {
  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 + 1) % (n + 1 - k) == 0)
      cout << ave + amari << " ";
    else
      cout << ave << " ";
  }
  if (n % (n + 1 - k) == 0)
    cout << ave + amari << endl;
  else
    cout << ave << endl;
}
