If 500 or 25% of a graduating class are girls, how many are graduating?

A. 2000

B. 5000

C. 10000

D. 20000