#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  ll n, k, s;
  cin >> n >> k >> s;
  vector<ll> a(n, 0);
  for (ll i = 0; i < k; i++) {
    a[i] = s;
  }
  for (ll i = k; i < n; i++) {
    a[i] = 1145141919810;
  }
  for (ll i = 0; i < n; i++) {
    cout << a[i] << (i != n - 1 ? " " : "\n");
  }
}
