'use strict';

var main = input => {
    const sum = input.split(" ").map(e => parseInt(e)).reduce((prev, curr) => prev + curr);
    console.log(sum < 10 ? sum : "error");
}

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