#include <bits/stdc++.h>
using namespace std;
using ll = int64_t;
void main_() {
  ll N, K, S;
  cin >> N >> K >> S;
  for (ll i = 0; i < K; ++i) {
    cout << S << " ";
  }
  for (ll i = K; i < N; ++i) {
    cout << S + 1 << " ";
  }
  cout << endl;
}
int main() {
  cin.tie(nullptr);
  cout.tie(nullptr);
  ios_base::sync_with_stdio(false);
  main_();
  return 0;
}
