var input = require('fs').readFileSync('/dev/stdin', 'utf8');
var lines = input.split('\n');

var line;
while (line = lines.shift()) {
	var nums = line.split(' ').map(function(n){return +n;});
	console.log(nums[0] + nums[1]);
}