#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, s, temp;
  cin >> n >> k >> s;
  vector<int> number(n);
  if (s == 1000000000)
    temp = 0;
  else
    temp = s;
  for (int i = 0; i < k; i++) number.at(i) = temp;
  for (int i = 0; i < n - k; i++) number.at(i + k) = temp + 1;
  for (int i = 0; i < n - 1; i++) cout << number.at(i) << " ";
  cout << number.at(n - 1) << endl;
}
