#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<ll, ll>;
using Graph = vector<vector<ll>>;
template <typename T>
void view(T e) {
  std::cout << e << std::endl;
}
template <typename T>
void view(const std::vector<T>& v) {
  for (const auto& e : v) {
    std::cout << e << ", ";
  }
  std::cout << std::endl;
}
template <typename T>
void view(const std::vector<std::vector<T>>& vv) {
  for (const auto& v : vv) {
    view(v);
  }
}
int main() {
  ll N, K, S;
  cin >> N >> K >> S;
  vector<ll> ans(K, S);
  ll tmp = S == 1 ? 2 : 1;
  for (ll i = 0; i < (ll)(N - K); i++) {
    ans.push_back(tmp);
  }
  for (ll i = 0; i < (ll)(N - 1); i++) {
    cout << ans[i] << " ";
  }
  cout << ans[N - 1] << endl;
  return 0;
}
