Wonder why it would ask for two inputs. Must be someting going on.
Have you read about the Scanner class?
There may be a hint to what is going on in some related paperwork, maybe...