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