#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<ll, ll>;
const ll INF = 1LL << 60;
const ll MOD = 1e9 + 7;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  ll n, k, s;
  cin >> n >> k >> s;
  ll t = s % 2 + 1;
  for (int i = 0; i < n; i++) {
    if (i < k)
      cout << s;
    else
      cout << t;
    cout << " ";
  }
  return 0;
}
