import java.util.*;
public class Main{
	public static void main(String args[]){
		Scanner cin = new Scanner(System.in);
		int a, b;
		while (cin.hasNext()){
			a = cin.nextInt(); b = cin.nextInt();
			System.out.println(a + b);
		}
	}
}
/**************************************************************
	Problem: 1000
	User: yangjunwen
	Language: Java
	Result: Accepted
	Time:777 ms
	Memory:39844 kb
****************************************************************/