defmodule Main do
  def main do
      [a, b, k] =
      IO.read(:line)
      |> String.trim
      |> String.split(" ")
    a = String.to_integer(a)
    b = String.to_integer(b)
    k = String.to_integer(k)
    ans1 = a..Enum.min([a + k - 1, b])
    ans2 = Enum.max([b - k + 1, Enum.min([a + k - 1, b])])..b
    Enum.to_list(ans1) ++ Enum.to_list(ans2) |> Enum.dedup |> Enum.each(fn x -> IO.puts(x) end)  
  end
end
