import Data.List
import Data.Ord
import Data.Char
import Data.Ratio
import Data.Maybe

main = do
  [a,b,k] <- map (read::String->Int) . words <$> getLine
  (putStrLn .unlines .map show .nub) $take k [a..b] ++ (reverse .take k) [b..a]