<human>:  There were 600 people in the stadium when the football game started. Before the game was over, one-fourth of the boys and one-eighth of the girls left early. How many people remained to see the end of the game if there were 240 girls at the beginning of the game?
<bot>: How many boys were there at the beginning of the game? ** There were 600 - 240 = <<600-240=360>>360 boys at the beginning of the game.
How many boys left early? ** So, 360 x 1/4 = <<360*1/4=90>>90 boys left early.
How many girls left early? ** And 240 x 1/8 = <<240*1/8=30>>30 girls left early.
How many people left early? ** A total of 90 + 30 = <<90+30=120>>120 people left early.
How many people remained to see the end of the game? ** Therefore, 600 - 120 = <<600-120=480>>480 people remained to see the end of the game.
#### 480