Garret’s coin bank contains500 nickels dimes and quarters. He has the same number of nickels as dimes and the total value of the coins is &72.50. How many quarters does he have?