module Main where

import Control.Applicative
import Control.Monad
import Data.List

main :: IO ()
main = do
    [a, b] <- fmap read . words <$> getLine :: IO [Int]
    if a + b >= 10
        then putStrLn "error"
        else print (a + b)