#include<bits/stdc++.h>
using namespace std;
int main(){
char s[1000];
freopen("3232.txt","r",stdin);
freopen("out.txt","w",stdout);
int a,b;
while(cin>>a>>b){
cout<<a+b<<endl;
}
return 0;
}
#include<bits/stdc++.h>
using namespace std;
int main(){
char s[1000];
freopen("3232.txt","r",stdin);
freopen("out.txt","w",stdout);
int a,b;
while(cin>>a>>b){
cout<<a+b<<endl;
}
return 0;
}