#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using Graph = vector<vector<int>>;
template <typename T>
istream &operator>>(istream &is, vector<T> &vec) {
  for (auto &v : vec) is >> v;
  return is;
}
template <typename A, typename B>
inline bool chmin(A &a, const B &b) {
  if (a > b) {
    a = b;
    return true;
  } else {
    return false;
  }
}
template <typename A, typename B>
inline bool chmax(A &a, const B &b) {
  if (a < b) {
    a = b;
    return true;
  } else {
    return false;
  }
}
int main() {
  ll N, K, S;
  cin >> N >> K >> S;
  if (N == K) {
    for (int i = 0; i < (int)(N); i++) {
      cout << S << " ";
    }
    cout << endl;
    return 0;
  }
  ll A = S / 2;
  ll B = S - A;
  for (int i = 0; i < (int)(N); i++) {
    if (i < K + 1) {
      if (0 == i % 2) {
        cout << A << " ";
      } else {
        cout << B << " ";
      }
    } else {
      cout << (A + 1) << " ";
    }
  }
  cout << endl;
}
