#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<ll, ll>;
using Graph = vector<vector<ll>>;
const int dx[4] = {1, 0, -1, 0};
const int dy[4] = {0, 1, 0, -1};
const int ddx[8] = {0, 1, 1, 1, 0, -1, -1, -1};
const int ddy[8] = {1, 1, 0, -1, -1, -1, 0, 1};
const ll MOD = 1000000007;
const ll INF = 1000000000000000000L;
void Main() {
  ll N, K, S;
  cin >> N >> K >> S;
  ll a = S / 2, b;
  if (S % 2 == 0) {
    b = S / 2;
  } else {
    b = S / 2 + 1;
  }
  vector<ll> A(N);
  for (ll i = 0; i < (ll)(N); i++) {
    if (i <= K) {
      if (i % 2 == 0) {
        A.at(i) = a;
      } else {
        A.at(i) = b;
      }
    } else {
      A.at(i) = 1000000000;
    }
  }
  for (auto a : A) {
    cout << a << " ";
  }
}
int main() {
  cin.tie(nullptr);
  ios::sync_with_stdio(false);
  cout << fixed << setprecision(15);
  Main();
  return 0;
}
