import qualified Data.ByteString.Char8 as BS
import Data.Maybe
import Data.List

main :: IO ()
main = do
    [a,b,k] <- map (fst . fromJust . BS.readInt) . BS.words <$> BS.getLine
    let x = [a..(a+k-1)] ++ [(b-k+1)..b]
    mapM_ print $ nub x
