import qualified Data.List as DL
import Control.Monad

main = do
  [a,b,k] <- map read . words <$> getLine
  let as = take k [a..b]
      bs = take k [b,(b-1)..a]
      cs = DL.sort $ DL.nub (as `mappend` bs)
    in mapM (putStrLn . show) cs

