posted by Nate Williams .
Ruthie has 10 coins, all either nickels, dimes, or quarters. She has N nickels, D dimes, and Q
quarters, where N, D, and Q are all different, and are each at least 1. Amazingly, she would have
the same amount of money if she had Q nickels, N dimes, and D quarters. How many cents does
n=1 d =5 and q=4