#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b;
do{
cin>>a>>b;
cout<<a+b;
}while(2<=4);
}
/**************************************************************
Problem: 1001
User: huxuanchen
Language: C++
Result: Output Limit Exceed
****************************************************************/