Let $n$ be the number of ways that $10$ dollars can be changed into dimes and quarters, with at least one of each coin being used. Find the value of $n$.

Let's think step by step and output the final answer within \boxed{}.
user