Of a group of boys and girls at Central Middle Schools's after-school party, 15 girls left early to play in a volleyball game. The ratio of boys to girls then remaining was 18 to 5. Later, 45 boys left for a football game. The ratio of girls to boiys was then 5 to 9. How many students attended the party?