import Control.Monad (replicateM_)

main = do
    n <- readLn
    replicateM_ n proc

proc = do
    a <- readLn :: IO Integer
    b <- readLn :: IO Integer
    putStrLn (if a+b < 10^80 then show (a+b) else "overflow")