#include <bits/stdc++.h>
using namespace std;
long long mx = 1e9;
long long n, k, s;
signed main() {
  ios_base::sync_with_stdio(0);
  cin >> n >> k >> s;
  if (k == n) {
    for (long long i = 1; i <= n; i++) cout << s << " ";
    return 0;
  }
  for (long long i = 1; i <= (k + 1); i++) {
    if ((s % 2) && (i % 2))
      cout << (s + 1) / 2;
    else
      cout << s / 2;
    cout << " ";
  }
  for (long long i = k + 2; i <= n; i++) cout << mx << " ";
}
