#include <bits/stdc++.h>
using namespace std;
int32_t main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long N, K, S;
  cin >> N >> K >> S;
  for (auto(i) = 0; i < K; i++) cout << S << " ";
  for (auto(i) = 0; i < N - K; i++) cout << S + 1 << " ";
  return 0;
}
