function Main(input){
    var N, a, b;
    var lines = input.split("\n");
    lines.push("EOF");
    
    for(var n=0;lines[n]!="EOF";++n){
        var dataset = lines[n].split(" ");
        
        a = Int(dataset[0]);
        b = Int(dataset[1]);
        
        console.log(a+b);
    }
}

Main(require("fs").readFileSync("/dev/stdin", "utf8"));