import Data.List

smallAndLarge a b k
    | a + k < b - k = [a..a+(k-1)] ++ [b-(k-1)..b]
    | otherwise     = [a..b]

main :: IO ()
main = abcDo

abcDo = do
    [a, b, k] <- map read . words <$> getLine
    mapM_ print $ smallAndLarge a b k