import Control.Applicative

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

solve :: Int -> Int -> Int -> [Int]
solve a b k = [x | x <- [a..b], x <= a + k - 1 || x >= b - k + 1]
