#include <bits/stdc++.h>
using namespace std;
int main() {
  long long N, K, S;
  cin >> N >> K >> S;
  vector<long long> res(N, 0);
  long long len = (N - K) + 1;
  if (len <= S) {
    long long mod = S % len;
    long long unit = S / len;
    for (long long i = 1; i <= N; i++) {
      if (i % len == 0)
        cout << unit + mod;
      else
        cout << unit;
      if (i != N) cout << " ";
    }
  } else {
    long long padding = len - S;
    for (long long i = 0; i < N; i++) {
      if (i != padding)
        cout << 1 + S;
      else
        cout << 1;
      if (i != N - 1) cout << " ";
    }
  }
  return 0;
}
