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