I have seen other similar questions and didn't find any solution to my problem.
Just trying to scan 2 numbers and add them together:
Scanner input = new Scanner(System.in);
int number1;
int number2;
int sum;
System.out.print("First: ");
number1 = input.nextInt();
System.out.println("Second: ");
number2 = input.nextInt();
sum = number1 + number2;
System.out.println("The sum is " + sum);
the first one is printed out nicely and the next time it just crashes with IME... What am i doing wrong?