/**
 * @param {String} input
 */
function Main(input){
    const inputs = input.split(' ');
    const num = Number(inputs[0]) + Number(inputs[1]);
    if(num >= 10) return "error";
    return num; 
}
console.log(Main(require("fs").readFileSync("/dev/stdin", "utf8")));
