n,k,s = gets.chomp.split.map(&:to_i)
ans_array = Array.new(n)
cnt = 0
k.times do |i|
  ans_array[i] = s
  cnt = i
end
if s != 10**9
  (n-cnt..n-1).each do |j|
    ans_array[j] = 10**9
  end
else
  (n-cnt..n-1).each do |j|
    ans_array[j] = 10**9 - 1
  end
end
puts ans_array.join(" ")
  

