A coin collection consists of nickels, dimes and quarters, and has a total value of $3.30. There are three times as many nickels as quarters. How many coins of each kind are there if the numbers of dimes is three less than the average of the number of nickels and number of quarters