import Data.List.Split

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]