// AtCoder My Practice
// author: Leonardone @ NEETSDKASU

[<EntryPoint>]
let main _ =
    let sum =
        stdin.ReadLine().Split(' ')
        |> Array.map int
        |> Array.sum
    if sum >= 10 then
        printfn "error"
    else
        printfn "%d" sum
    0