import Data.List
main = do
  [a,b,k] <- map read . words <$> getLine
  putStrLn $ unlines $ f a b k

f p q r
  | q-p >= 2*r = map show ([p..(p+r-1)]++[(q-r+1)..q])
  | otherwise = map show $ filter (\x -> x<p+r || x>q-r) [p..q]
