#include <iostream>
#include <cstdio>

const unsigned int BUF_SIZE = 256;

int main(){
	int a,b;
	char buf[BUF_SIZE];

	while(fscanf(stdin,"%d %d",&a, &b) != EOF){
		std::cout << a + b << std::endl;
	}
}