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