object Main {
  def main(args: Array[String]) {
    val sc = new java.util.Scanner(System.in)
    val a = sc.nextInt();
    val b = sc.nextInt();
    if(a + b >= 10) {
      println("error");
    } else {
      println(a + b);
    }
  }
}
