import Control.Monad

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

main :: IO ()
main  = readLn
    >>= \ n -> replicateM_ n solve