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

function main(chunk){
    console.log(Number(chunk.split(" ")[0]) + Number(chunk.split(" ")[1]));
}