import Control.Applicative

main :: IO ()
main = solve <$> f >>= putStrLn
  where
    f = map read <$> words <$> getLine

solve :: [Int] -> String
solve [a, b]
  | ab >= 10 = "error"
  | otherwise = show ab
  where
    ab = a + b
