import java.util.Scanner; /** * 链接:https://ac.nowcoder.com/acm/contest/320/B * 来源:牛客网 * * 输入第一行包括一个数据组数t(1 <= t <= 100) * 接下来每行包括两个正整数a,b(1 <= a, b <= 10^9) */ public class Main_02 { public static void main(String[] args) { Scanner s = new Scanner(System.in); int lineNumber = s.nextInt(); for (int i = 0; i < lineNumber; i++) { int a = s.nextInt(); int b = s.nextInt(); System.out.println(a + b); } } }