A youth organization collected nickels and dimes for a charity drive. By the end of the 1-day drive, the youth had collected $42.35. If there were three times as many dimes as nickels, how many of each type of coin was collected?