import qualified Control.Monad as M

main :: IO ()
main = do
  l <- readLn
  M.replicateM_ l $ do
    a <- readLn
    b <- readLn
    let x = a + b
    if length (show x) > 80
       then putStrLn "overflow"
       else print x