#include <bits/stdc++.h>
#pragma GCC optimize("O3", "unroll-loops")
#pragma GCC target("avx2")
using namespace std;
int32_t main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  long long int n, k, s, t = 1000000000;
  cin >> n >> k >> s;
  for (long long int i = 1; i <= k; i++) cout << s << " ";
  for (long long int i = k + 1; i <= n; i++) cout << min(t, s + 3) << " ";
}
