import Data.List

main = do
    [x, y, k] <-  map read . words <$> getLine
    let sorted = sort [x..y]
    let a = take k sorted
    let b = take k (reverse sorted)
    let answer = sort . nub $ a ++ b
    mapM_ print (sort answer)
