import java.util.Scanner;
public class Test1004{
public static void main (String args[]) {
int n,a,b,i,sum;
Scanner in=new Scanner(System.in);
n=in.nextInt();/*输入整数n*/
for (i=1;i<=n;i++){
a=in.nextInt();/*输入a的值*/
b=in.nextInt();/*输入b的值*/
sum=a+b;
System.out.println("sum="+sum);
}
}
}