https://www.acmicpc.net/problem/10953
import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner s=new Scanner(System.in);
int T=s.nextInt();
for(int i=0; i<T; i++) {
String[] n = s.next().split(",");
int a= Integer.parseInt(n[0]);
int b= Integer.parseInt(n[1]);
System.out.println(a+b);
}
}
}