import Control.Applicative
import Data.List

main = do
    [a,b,k] <- map read.words <$> getLine :: IO [Int]
    mapM_ f (calc a b k)

f c = putStrLn c
calc a b k = nub $ map show ([a..a+k-1] ++[b-k+1..b])