function Main(input){
  input = input.split(' ');
  var x = Number(input[0]);
  var y = Number(input[1]);


  if( x + y >= 10) {
      console.log('error');
  } else {
      console.log(x + y);
  }

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