import Data.List
import Control.Monad

main = do
  [a, b, k] <- map read . words <$> getLine
  let xs = [a..b]
      ys = [b..a]
      answer = sort . nub $ take k xs ++ take k ys
  mapM_ print answer