At the basketball game last night, the home team was losing by 48 points at halftime, so fans started to leave. There were 45,862 people at the game when it started and 17,946 left at halftime. Then another 13,892 people left before the last quarter. How many people were left by that end of the game?