#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, K;
  long long S;
  cin >> N >> K >> S;
  int n = N - (K - 1);
  long long val = S / n;
  long long val_last = S / n + S % n;
  int i = 0;
  while (i < N) {
    if ((i + 1) % n == 0) {
      cout << val_last << " ";
    } else {
      cout << val << " ";
    }
    i++;
  }
  return 0;
}
