function Main(input) {
	input = input.trim();
  var A = parseInt(input.split(" ")[0]);
  var B = parseInt(input.split(" ")[1]);
  console.log((A + B >= 10) ? "error" : A + B);
}

Main(require("fs").readFileSync("/dev/stdin", "utf8"));
