import Data.List

f a b k
  | k < div range 2 + mod range 2 = (++) <*> (map (+ (b - (k -1)))) $ take k [a..b]
  | otherwise = [a..b]
  where range = b - a + 1

main = do
   [a,b,k] <- map read . words <$> getLine
   mapM_ print $ f a b k