#include <bits/stdc++.h>
using namespace std;
std::chrono::system_clock::time_point start;
std::chrono::system_clock::time_point owari;
signed main() {
  int a, b, c;
  cin >> a >> b >> c;
  for (int i = 0; i < a; i++) {
    if (i) cout << ' ';
    if (i < b)
      cout << c;
    else
      cout << c + 1;
  }
  cout << endl;
}
