#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b;
while (scanf("%d %d",&a,&b)==2){
printf("%d\n",a+b);
}
return 0;
}
/**************************************************************
	Problem: 1001
	User: tonghuawei
	Language: C++
	Result: Accepted
	Time:15 ms
	Memory:2076 kb
****************************************************************/