#include <bits/stdc++.h>
using namespace std;
using i64 = int64_t;
using i32 = int32_t;
template <class T, class U>
void init_n(vector<T>& v, size_t n, U x) {
  v = vector<T>(n, x);
}
template <class T>
void init_n(vector<T>& v, size_t n) {
  init_n(v, n, T());
}
template <class T>
void read_n(vector<T>& v, size_t n, size_t o = 0) {
  v = vector<T>(n + o);
  for (size_t i = o; i < n + o; ++i) cin >> v[i];
}
template <class T>
void read_n(T a[], size_t n, size_t o = 0) {
  for (size_t i = o; i < n + o; ++i) cin >> a[i];
}
template <class T>
T iabs(const T& x) {
  return max(x, -x);
}
int main() {
  i64 n, k, s;
  cin >> n >> k >> s;
  for (int i = 0; i < n; ++i) {
    if (i < k)
      cout << s << ' ';
    else
      cout << s + 1 << ' ';
  }
  cout << endl;
  return 0;
}
