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