object Main extends App {
  val value = readLine.split(" ")
  val a = value(0).toInt
  val b = value(1).toInt
  val sum = a + b

  if (sum >= 10) {
    println("error")
  } else {
    println(sum)
  }
}