2017-02-12 00:31:12 -08:00
|
|
|
// Author: Rodney Shaghoulian
|
2018-07-27 16:45:56 -07:00
|
|
|
// Github: github.com/RodneyShag
|
|
|
|
|
// HackerRank: hackerrank.com/RodneyShag
|
2017-02-12 00:31:12 -08:00
|
|
|
|
2017-02-04 02:41:59 -08:00
|
|
|
import java.util.Scanner;
|
2017-02-03 22:41:39 -08:00
|
|
|
|
|
|
|
|
public class Solution {
|
2017-09-11 09:32:17 -07:00
|
|
|
public static void main(String[] args) {
|
2017-04-05 18:42:35 -05:00
|
|
|
/* Save input */
|
2017-02-04 02:41:59 -08:00
|
|
|
Scanner scan = new Scanner(System.in);
|
|
|
|
|
int a = scan.nextInt();
|
|
|
|
|
int b = scan.nextInt();
|
|
|
|
|
scan.close();
|
|
|
|
|
|
|
|
|
|
/* Calculate sum */
|
|
|
|
|
int sum = solveMeFirst(a, b);
|
|
|
|
|
|
|
|
|
|
/* Print output */
|
2017-02-03 22:41:39 -08:00
|
|
|
System.out.println(sum);
|
2017-02-04 02:41:59 -08:00
|
|
|
}
|
2017-04-05 18:42:35 -05:00
|
|
|
|
|
|
|
|
static int solveMeFirst(int a, int b) {
|
|
|
|
|
return a + b;
|
|
|
|
|
}
|
2017-02-03 22:41:39 -08:00
|
|
|
}
|