main :: IO ()
main = do
  [a, b, k] <- map read . words <$> getLine
  putStr $ solve a b k

solve :: Int -> Int -> Int -> String
solve a b k = unlines $ map show $ [ x | x <- [a..b], x - a < k || b - x < k ]