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