#include <bits/stdc++.h>
using namespace std;
long long n, k, m;
signed main() {
  scanf("%lld%lld%lld", &n, &k, &m);
  for (long long i = 1; i <= k; i++) printf("%lld ", m);
  for (long long i = k + 1; i <= n; i++) printf("%lld ", m + 1);
  return 0;
}
