contestada

PLEASE ILL GIVE BRAINLIEST

Ahmed has 31 coins in his pocket, all of which are dimes and quarters. If the total value of his change is 535 cents, how many dimes and how many quarters does he have?