#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, K, S;
  cin >> N >> K >> S;
  int p = N - K + 1;
  vector<int> A(N, S / p);
  int q = S % p;
  if (S / p == 0) {
    A.assign(N, 1000000000);
    for (int i = 0; i < q; i++) A[i] = S;
  } else {
    for (int i = 1; i <= q; i++) {
      for (int j = p - i; j < N; j += p) {
        A[j] += 1;
      }
    }
  }
  for (int i = 0; i < N; i++) {
    cout << A[i];
    if (i < N - 1) cout << " ";
  }
  cout << endl;
}
