'use strict'

const main = (INPUT) => {
  const [A, B] = INPUT.split('\n')[0].split(' ').map(n => Number(n))
  const ans = A + B
  console.log(ans >= 10 ? 'error' : ans)
}

main(require('fs').readFileSync('/dev/stdin', 'utf8'))
