Jessie has some nickels, dimes, and quarters in her bank. The number of coins is 30. The expression 0.05n + 0.10d + 0.25q represents the value of the coins, which is $3.45. Jessie has five more nickels than she does quarters. How many of each coin does Jessie have?