import Control.Applicative
import Control.Monad

sumPair = do
  x <- readLn :: IO Integer
  y <- readLn :: IO Integer
  if x + y < 10^79
    then putStrLn $ show $ x + y
    else putStrLn "overflow"

main = do
  n <- readLn
  replicateM n sumPair