main=do s <- (\x y -> (show (sum $ map read $ words x) ++ " " ++ y)) <$> getLine <*> getLine putStr s