#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, s, d;
  cin >> a >> s >> d;
  for (int q = a - s; q > 0; q--) {
    cout << 0 << " ";
  }
  for (int q = 0; q < s; q++) {
    cout << d << " ";
  }
  return 0;
}
