function main(data){
    input = data.split(" ");
    total = parseInt(input[0],10) + parseInt(input[1],10);
    if(total >= 10){
        console.log("error");
    }else{
        console.log(total);
    }
}
main(require("fs").readFileSync("/dev/stdin", "utf8"));