contestada

A class contributed $8.40 in dimes and quarters to the Red Cross. In all, there were 45 coins. How many coins of each kind were there?