#include <bits/stdc++.h>
using namespace std;
long long N, K, S;
const int MAX = 1.0e5 + 10;
int main() {
  cin >> N >> K >> S;
  long long A[N];
  long long win = N - K + 1;
  long long now = 0;
  A[0] = (S + win - 1) / win;
  for (int i = 1; i < win; i++) {
    A[i] = S / win;
    now += A[i];
  }
  for (int i = win; i < N; i++) {
    A[i] = S - now;
    now -= A[i - win + 1];
    now += A[i];
  }
  for (int i = 0; i < N; i++) {
    cout << A[i] << " ";
  }
  cout << endl;
  return 0;
}
