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