For each class with a minimum participation of 500 students from a certain city, a city rank will be announced.