def main
    n,k,s = gets.chomp.split(" ").map(&:to_i)
    a = []
    k.times do
        a.push s
    end
    (n-k).times do
        t = 1
        t = 2 if s == 1
        a.push t
    end
    puts a.join(" ")
end

main
