object Main extends App {
  val sc = new java.util.Scanner(System.in)
//  val l = List.fill(3)(sc.nextInt)
  val a, b = sc.nextInt

  val added = a + b
  val ans = if (a + b < 10) added.toString else "error"
  println(ans)
}