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

solve :: Int -> Int -> Int -> [Int]
solve a b k | 2*k >= b - a +2 = [a..b]
            | otherwise = [a..(a+k-1)] ++ [(b-k+1)..b]
