In a piggy bank, there are only nickels and dimes. The total number of coins is 30, and the total value of the coins is $2.25. How many nickels and how many dimes are in the piggy bank? Let's think step by step and output the final answer within \boxed{}.
user