#include <bits/stdc++.h>
using namespace std;
signed main() {
  long long N, K, S;
  cin >> N >> K >> S;
  for (long long i = 0; i < (long long)(K); i++) cout << S << " ";
  for (long long i = 0; i < (long long)(N - K); i++) cout << 1000000000 << " ";
  cout << endl;
}
