Scanner input = new Scanner(System.in); int A = input.nextInt(); int B = input.nextInt(); System.out.println(A+B);