#include <bits/stdc++.h>
using namespace std;
template <typename T>
void DEBUG(T e) {
  std::cout << "DEBUG>>" << e << std::endl;
}
template <typename T>
void DEBUG(const std::vector<T>& v) {
  for (const auto& e : v) {
    std::cout << e << " ";
  }
  std::cout << std::endl;
}
template <typename T>
void DEBUG(const std::vector<std::vector<T> >& vv) {
  for (const auto& v : vv) {
    DEBUG(v);
  }
}
void solve(void) {
  long long N, K, S;
  cin >> N >> K >> S;
  vector<long long> ANS(N, 0);
  if (K == N) {
    for (long long i = 0; i < N; i++) {
      if (i != 0) cout << " ";
      cout << S;
    }
    cout << endl;
    return;
  }
  for (long long i = 0; i < N; i++) {
    if (i <= K) {
      ANS[i] = S / 2;
      if (S % 2 == 1) {
        if (i % 2 == 1) {
          ANS[i]++;
        }
      }
      if ((K == 0) && (S == 1e9)) {
        ANS[i] = 999999999;
      }
    } else {
      if (S != 1e9)
        ANS[i] = 1e9;
      else {
        ANS[i] = 999999999;
      }
    }
  }
  for (long long i = 0; i < N; i++) {
    if (i != 0) cout << " ";
    cout << ANS[i];
  }
  cout << endl;
  return;
}
int32_t main(int32_t argc, const char* argv[]) {
  std::ios::sync_with_stdio(false);
  std::cin.tie(0);
  solve();
  return 0;
}
