#include <bits/stdc++.h>
using namespace std;
using ll = int64_t;
int main() {
  ll n, k, s;
  cin >> n >> k >> s;
  vector<ll> ans(n);
  for (int i = 0; i < k; i++) ans[i] = s;
  for (int i = k; i < n; i++) ans[i] = s - 1;
  for (int i = 0; i < n; i++) {
    printf("%ld ", ans[i]);
  }
  printf("\n");
}
