import Control.Applicative
import Control.Monad

sumPair = do
  x <- readLn :: IO Integer
  y <- readLn :: IO Integer
  let s = show $ x + y
  if length s <  80
    then putStrLn s
    else putStrLn "overflow"

main = do
  n <- readLn
  replicateM n sumPair