public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int sum = 0; String input; int integer; String input_temp; while(true){ input = scanner.nextLine(); input_temp = input; if(input_temp.contains("exit")){ break; } Scanner scannerDivider = new Scanner(input).useDelimiter(" "); while(scannerDivider.hasNext()){ integer = scannerDivider.nextInt(); s..