#include <bits/stdc++.h>
using namespace std;
void err(istream_iterator<string> it) {}
template <typename T, typename... Args>
void err(istream_iterator<string> it, T a, Args... args) {
  cerr << *it << " = " << a << endl;
  err(++it, args...);
}
void faster() {
  ios::sync_with_stdio(false);
  cin.tie(nullptr);
}
void solve() {
  long long n, k, s;
  cin >> n >> k >> s;
  vector<long long> v(n);
  long long arr[2] = {s / 2, s - (s / 2)};
  if (k == n)
    fill((v).begin(), (v).end(), s);
  else {
    for (__typeof(k + 1) i = (0) - ((0) > (k + 1));
         i != (k + 1) - ((0) > (k + 1)); i += 1 - 2 * ((0) > (k + 1)))
      v[i] = arr[i % 2];
    for (__typeof(n) i = (k + 1) - ((k + 1) > (n)); i != (n) - ((k + 1) > (n));
         i += 1 - 2 * ((k + 1) > (n)))
      v[i] = arr[i % 2] + 2 + (arr[i % 2] + 2 == s);
  }
  for (auto e : v) cout << e << " ";
  cout << "\n";
}
signed main() {
  faster();
  long long t = 1;
  while (t--) solve();
}
