#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: xiaojingxuan
	Language: C++
	Result: Accepted
	Time:8 ms
	Memory:2076 kb
****************************************************************/