import Control.Monad

go :: IO ()
go = do
    a <- readLn :: IO Integer
    b <- readLn :: IO Integer
    let c = show $ a + b
    putStrLn $ if length c > 80 then "overflow" else c

main :: IO ()
main = do
    n <- readLn :: IO Int
    replicateM_ n go