#include <bits/stdc++.h>
using namespace std;
int main(void) {
  ios::sync_with_stdio(false);
  int N, K, S;
  cin >> N >> K >> S;
  vector<int> answer;
  for (int i = 0; i < (K); i++) answer.push_back(S);
  for (int i = 0; i < (N - K); i++) answer.push_back(S * 2);
  for (auto i : answer) {
    cout << i << " ";
  }
  cout << endl;
  return 0;
}
