The average salary of male employees in a firm is 520 and that of female employees is 420. The mean salary of all the employees is 500. What is the percentage of female employees?

A) 40%
B) 30%
C) 25%
D) 20%