#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, k, s;
  scanf("%lld%lld%lld", &n, &k, &s);
  for (int i = 1; i <= k - 1; i++) printf("%lld ", s);
  printf("%lld", s);
  long long t;
  if (s == 1e9)
    t = s - 1;
  else
    t = s + 1;
  for (int i = k + 1; i <= n; i++) printf(" %lld", t);
  return 0;
}
