process.stdin.resume();
process.stdin.setEncoding('utf8');
process.stdin.on('data', function(chunk) {
    main(chunk.trim());
});

function main(chunk){
    var lines = chunk.split("\n");
    for(var i in lines){
        console.log(Number(lines[i].split(" ")[0]) + Number(lines[i].split(" ")[1]));
    }
}