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