It's because you are not saving the variables that the user is typing try as an example
int input=console.nextInt;

--- Update ---

Oh sorry since the user will put many integer example :25 65...