#include <stdio.h>
int main(){
    int a,b;
    while(scanf("%d %d",&a, &b) != EOF)
        printf("%d\n",a+b);
    return 0;
}
/**************************************************************
	Problem: 1000
	User: linzihang
	Language: C
	Result: Accepted
	Time:7 ms
	Memory:1144 kb
****************************************************************/