object Main extends App{ 
  val in = scala.io.StdIn.readLine().split(" ").map(_.toInt)
  val x = in(0)
  val y = in(1)
  val sum = x + y
 
    if(sum >= 10){
      println("error")
    }else{
      println(sum)
  }
}
