Susan has a collection of 44 nickels and dimes. If the number of nickels is three times the number of​ dimes, how many nickels and how many dimes does she​ have?