import java.util.Scanner; public class InputOutputExe{ public InputOutputExe(){ System.out.println("Please type in two ints and separate them with a space"); Scanner sc = new Scanner(System.in); String first = sc.next(); String second = sc.next(); int firstNumber = Integer.parseInt(first); int secondNumber = Integer.parseInt(second); System.out.println(firstNumber + secondNumber + ""); } public static void main(String args[]){ new InputOutputExe(); } }