I'm trying to use java.util.Scanner. Is it not allowed here?