Steps to reproduce: 1. Enter the cycling mode 2. When being asked whether to add attractions, input anything except 'Y', such as 'N' or 'a' Actual result: The software still waited for input and could not respond until the same content was input for the second time Expected result: The software proceeds to the next step or reports the invalid input.
Solution: Use a variable to store input.nextLine() to avoid needing to read twice to make a judgement