#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  int tmp = s + 1;
  if (s == (int)pow(10, 9)) tmp = 1;
  for (auto i = 0; i < k; i++) cout << s << " ";
  for (auto i = k + 1; i < n; i++) cout << tmp << " ";
  cout << tmp << endl;
  return 0;
}
