#include <bits/stdc++.h>
template <class T>
bool chmax(T &a, const T &b) {
  if (a < b) {
    a = b;
    return 1;
  }
  return 0;
}
template <class T>
bool chmin(T &a, const T &b) {
  if (a > b) {
    a = b;
    return 1;
  }
  return 0;
}
using ll = long long;
using namespace std;
constexpr long long MAX = 5100000;
constexpr long long INF = 1LL << 60;
constexpr int MOD = 1000000007;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int n, k, s;
  cin >> n >> k >> s;
  vector<int> A(n);
  A[0] = s / 2;
  int cnt = 0;
  for (int i = (1); i < (n); i++) {
    if (cnt < k) {
      A[i] = s - A[i - 1];
    } else {
      if (s - A[i - 1] + 10 < 100000)
        A[i] = s - A[i - 1] + 1;
      else
        A[i] = s - A[i - 1] - 1;
    }
    cnt++;
  }
  for (int i = 0; i < (n); i++) cout << A[i] << endl;
  return 0;
}
