'use strict'

function main(input) {
  input = input.split(' ').join('+')
  let tmp = eval(input)

  if (tmp >= 10) {
    console.log('error')
  } else {
    console.log(tmp)
  }
}
main(require("fs").readFileSync("/dev/stdin", "utf8"));
