#include <bits/stdc++.h>
using namespace std;
void init() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  cout << fixed << setprecision(10);
}
template <typename T>
istream &operator>>(istream &is, vector<T> &vec) {
  for (auto &v : vec) is >> v;
  return is;
}
template <typename T>
ostream &operator<<(ostream &os, const vector<T> &vec) {
  os << "vec[ ";
  for (register int i = (0), i_end = (vec.size()); i < i_end; i++)
    i == 0 ? os << vec[i] : os << ", " << vec[i];
  os << " ]";
  return os;
}
int main() {
  init();
  int N, K, S;
  cin >> N >> K >> S;
  vector<int> ans(N);
  for (register int i = (K), i_end = (N); i < i_end; i++)
    ans[i] = (S == 1000000000) ? 1 : (S + 1);
  for (register int i = (0), i_end = (N); i < i_end; i++) {
    if (i != 0) cout << " ";
    cout << ans[i];
  }
  cout << "\n";
}
