Sarah has $12.45 in quarters and nickels. She has 39 more nickels than quarters.

How many of each coin does she have?