object Main extends App {
	val x = scala.io.StdIn.readLine
	val A = x.split(" ")(0).toInt
	val B = x.split(" ")(1).toInt

	val sum = A + B

	if(sum > 9){
		println("error")
	}else{
		println(sum)
	}
}