"use strict";

const main = arg => {
    const N  = arg.split("\n")[0].split(" ").map(n=>parseInt(n));
    const AB = N.reduce((m,n)=>m+n);
    console.log(AB < 10 ? AB : "error" );
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));