#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using Vi = vector<int>;
using Vl = vector<ll>;
using Pii = pair<int, int>;
using Pll = pair<ll, ll>;
constexpr int I_INF = (1 << 30);
constexpr ll L_INF = (1ll << 62);
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  ll N, K, S;
  cin >> N >> K >> S;
  ll dummy;
  if (S == 1000000000) {
    dummy = 1;
  } else {
    dummy = 1000000000;
  }
  Vl ans(N);
  for (int i = 0; i < K; ++i) {
    ans[i] = K;
  }
  for (int i = K; i < N; ++i) {
    ans[i] = dummy;
  }
  for (int i = 0; i < N - 1; ++i) {
    cout << ans[i] << " ";
  }
  cout << ans[N - 1] << endl;
  return 0;
}
