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