#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int N, K, S;
  cin >> N >> K >> S;
  for (int i = 0; i < N; i++) {
    if (K-- > 0)
      cout << S << " ";
    else {
      if (S == 100000)
        cout << 1 << " ";
      else
        cout << 100000 << " ";
    }
  }
  cout << endl;
  return 0;
}
