#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const ll MOD = 1000000007;
const int dx[4] = {+1, 0, -1, 0};
const int dy[4] = {0, -1, 0, +1};
int main() {
  cin.tie(0);
  ios_base::sync_with_stdio(false);
  ll n, k, s;
  cin >> n >> k >> s;
  vector<ll> a(n);
  ll min_a = 1;
  ll max_a = 1000000000;
  if (s == max_a) {
    for (int i = 0; i < k; i++) {
      a[i] = s;
    }
    for (int i = k + 1; i < n; i++) {
      a[i] = min_a;
    }
  } else {
    for (int i = 0; i < k; i++) {
      a[i] = s;
    }
    for (int i = k; i < n; i++) {
      a[i] = max_a;
    }
  }
  for (ll ai : a) {
    cout << ai << " ";
  }
  cout << endl;
}
