Write the name of players.
The problem was that the program was going through everything, even when you wrote exit as your answer. It was fixed by putting that coding first, so that it could see if there was the word exit.