use v5.18; # strict say state
use warnings;
use List::Util qw(reduce first max min sum0);

chomp (my ($n, $k, $s) = split / /, <STDIN>);
my ($x, $y);
if ($s == 1) {
  $x = 2;
  $y = 1e9;
} elsif ($s == 1e9) {
  $x = 1e9;
  $y = 1;
} else {
  $x = $s;
  $y = $s + 1
}
my @c;
for my $i (1..$n) {
  push @c, $x if $i <= $k;
  push @c, $y unless $i <= $k;
}
say join(' ', @c);