#include<iostream>
using namespace std;
int main(){
int A,B;
while (cin >> A >> B) {
cout << A+B << endl;
}
return 0;
}
#include<iostream>
using namespace std;
int main(){
int A,B;
while (cin >> A >> B) {
cout << A+B << endl;
}
return 0;
}