let n, k, s = Scanf.scanf " %d %d %d" @@ fun a b c -> a, b, c
let _ = Array.(append (make k s) @@ make (n - k) (if s = 1000000000 then s - 1 else s + 1) |> to_list |> List.map string_of_int |> String.concat " " |> print_endline)