process.stdin.resume();
process.stdin.setEncoding("utf8");

process.stdin.on("data", function(chunk) {
    var reg = /([\d]+) ([\d]+)/;
    var result = reg.exec(chunk);
    if(result && result.length === 3) {
        process.stdout.write((parseInt(result[1]) + parseInt(result[2])).toString());
        process.stdout.write("\n");
    }
});

process.stdin.on("end", function() {
});