Gretchen needs to send in her camp registration form. The postage needed to mail in her oversized letter is 964. She looked in her pocket and saw that she has 14 coins that add up to 964. She has the same number of quarters as nickels and the same number of dimes as pennies. What coins does she have?