Is there a way to work with multiple input? For example the code is java, and asking twice for getting input from users.