Alan has 3 quarters and 7 dimes in his pocket. If he takes out a coin, puts it back in his pocket, and then takes out a coin again, what is the probability that both coins are dimes?