import Control.Monad (mapM_)

main = do
    [a, b, k] <- map read . words <$> getLine :: IO [Int]
    let l = if b - a + 1 > 2 * k
                then [a..a+k-1] ++ [b-k+1..b]
                else [a..b]
    mapM_ print l
