#include <bits/stdc++.h>
using namespace std;
long long int MOD = 1000000000 + 7;
using ll = long long;
int main() {
  ll n, k, s;
  cin >> n >> k >> s;
  vector<ll> a(n, 1000000);
  for (ll i = 0; i < k; ++i) {
    a[i] = s;
  }
  for (ll i = 0; i < n; ++i) {
    cout << a[i];
    if (i == n - 1) {
      cout << endl;
    } else {
      cout << " ";
    }
  }
}
