Kevin and Randy Muise have a jar containing 47 coins, all of which are either quarters or nickels. The total value of the coins in the jar $8.15 How many of each type of coin do they have ?