NEED HELP ASAP!

Ted has an impressive total of 145 dimes and quarters. The collection is worth $24.25.
How many dimes and quarters does he have?