给出2个整数A和B,计算两个数的和。
Input
2个整数A B,中间用空格分割。(0 <= A, B <= 10^9)
Output
输出A + B的计算结果。
Input示例
100 200
Output示例
300
import java.util.Scanner;
public class Sum{
public static void main(String[] args){
Scanner in = new Scanner(System.in);
while(in.hasNextLong()){
long a = in.nextLong();
long b = in.nextLong();
System.out.println(a+b);
}
}
}