let readIntArray () =
    stdin.ReadLine().Split(" ") |> Array.map int

()
|> readIntArray
|> fun [| a; b; k |] ->
    seq { a .. b }
    |> Seq.map string
    |> Seq.indexed
    |> fun x ->
        x
        |> Seq.filter (fun (i, _) -> i < k || (b - a - k) < i)
        |> Seq.map snd
    |> String.concat "\n"
    |> printfn "%s"
