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