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