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