#include <bits/stdc++.h>
using namespace std;
int main(int argc, char *argv[]) {
  ios_base::sync_with_stdio(false);
  cin.tie(nullptr);
  cout << setprecision(20);
  long long int big = 1e9;
  long long int N, K, S;
  cin >> N >> K >> S;
  vector<long long int> A(N);
  if (S < big) {
    for (long long int i = 0; i < K; i++) A.at(i) = S;
    for (long long int i = K; i < N; i++) A.at(i) = big;
  } else if (N == K) {
    for (long long int i = 0; i < K; i++) A.at(i) = S;
  } else {
    for (long long int i = 0; i < K - 1; i++) A.at(i) = S;
    long long int x = S / (N - (K - 1));
    for (long long int i = K - 1; i < N - 1; i++) A.at(i) = x;
    A.at(N - 1) = S - x * (N - K);
  }
  for (long long int i = 0; i < N; i++) {
    if (i == 0)
      cout << A.at(i);
    else
      cout << " " << A.at(i);
  }
  cout << endl;
  return 0;
}
