#include <bits/stdc++.h>
using namespace std;
using ll = long long;
constexpr ll MOD = 1e9 + 7;
constexpr int INF = 1 << 30;
ll n, k, s;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cin >> n >> k >> s;
  vector<ll> a(n + 1);
  ll ume = 1;
  if (s == 1) ume = 2;
  for (int i = 0; i < k; ++i) a[i] = s;
  for (int i = k; i < n; ++i) a[i] = ume;
  for (int i = 0; i < n; ++i) cout << a[i] << " \n"[i == n - 1];
  return 0;
}
