(function(stdin) {
  var lines = stdin.trim().split('\n');
  lines.forEach(function(line) {
    var numbers = line.trim().split(' ').map(Number);
    console.log(numbers[0] + numbers[1]);
  });
})(require('fs').readFileSync('/dev/stdin', 'utf8'));