import Data.List.Split
import Control.Applicative

readInt = (read :: String -> Integer)

main = do
    s <- (splitOn "\n") <$> getContents
    let nums = [map readInt $ splitOn " " t | t <- s]
    putStr $ unlines [show $ x + y | [x,y] <- nums]