#include <bits/stdc++.h>
using namespace std;
template <class T1, class T2>
inline bool minimize(T1& a, T2 b) {
  return b < a && (a = b, 1);
}
template <class T1, class T2>
inline bool maximize(T1& a, T2 b) {
  return a < b && (a = b, 1);
}
template <class T, class V>
istream& operator>>(istream& ist, pair<T, V>& p) {
  return ist >> p.first >> p.second;
}
template <class T>
ostream& operator<<(ostream& ost, pair<T, T>& p) {
  return ost << p.first << ", " << p.second;
}
template <class T>
istream& operator>>(istream& ist, vector<T>& vs) {
  for (auto& e : vs) ist >> e;
  return ist;
}
int const inf = INT_MAX / 2;
int main() {
  int N, K, S;
  cin >> N >> K >> S;
  if (K == 0) {
    cout << S - 1 << endl;
    return 0;
  }
  if (K == 1) {
    cout << S;
    for (int i = 0; i < (int)N - 1 - K; i++) {
      cout << " -1";
    }
    cout << endl;
    return 0;
  }
  cout << S - 1;
  for (int i = 0; i < (int)N - 1 - K; i++) {
    cout << " 0";
  }
  cout << " 1";
  for (int i = 0; i < (int)K - 1; i++) {
    cout << " 0";
  }
  cout << endl;
}
