Marcy has a total of 100 dimes and quarters. If the total value of coins is $14.05, how many quarters does she have?-It has to be in algebra form.

q = quarters

dimes = (100-q)
1405 = 25 q + 10 (100-q)

tell me if you do not get 27