A baseball stadium can hold a maximum of 55,000 spectators. Before the gates open, there are only 200 stadium personnel in the stadium. When the gates open, there are 500 times more spectators than media personnel that enter the stadium. There are 50 baseball players that enter the stadium. During the game, one-fourth of the spectators leave. There are 30,000 spectators at the end of the game. No players, stadium personnel, or media personnel leave during the game. Using the accounting principle, calculate the total number of people in the stadium at the end of the game.