module Main where

import Control.Applicative
import Control.Monad
import Data.List (sort)

main :: IO ()
main = do
    [a, b, k] <- fmap read . words <$> getLine :: IO [Int]
    let ls = sort $ take k [a .. b]
    let rs = sort $ take k [b, b - 1 .. (maximum ls + 1)]
    mapM_ print $ ls ++ rs