process.stdin.resume();
process.stdin.setEncoding("UTF-8");
process.stdin.on('data', function(chunk){
  var arr = chunk.trim().split('\n');
  arr.forEach(function(v){
    var a = (v.split(" ")[0]);
    var b = (v.split(" ")[1]);
    var result = Number(a) + Number(b);
    console.log(result);
  })
});