4390 - A+B (Snippet Judge)

Time Limit: 1s Memory Limit: 128MB

Snippet Judge Submissions: 138 Solved: 88
Description

A+B=?

Input

Two integer a,b (-1000<=a,b<=1000)

Output

Output a+b

Sample Code
import java.util.*;
public class Main {
    public static void main(String args[]){
        Scanner sc = new Scanner(System.in);
        int a, b;
        a = sc.nextInt();
        b = sc.nextInt();
        System.out.println(Calc.add(a, b));
    }
}

YOUR_CODE
Sample Input
1 2
Sample Output
3
Hint
class Calc {
	public static int add(int a, int b) {
		return a+b; 
	}
}