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