main :: IO ()
main = do
    [a, b, k] <- map (read :: String -> Int) . words<$> getLine
    let n  = b - a + 1
        xs = zip [1..n] [a..b]
    putStr $ unlines $ map show $ [(snd x) | x <- xs, (fst x) <= k || (n - k + 1) <= (fst x)]
