coins in your pocket consisting of and with a total value of $ Practice Problem

<-- Enter Total Coin Value
<-- Enter number of coins
<-- Enter what coin 1 is
<-- Enter what coin 2 is

The following practice problem has been generated for you:
You have 27 coins in your pocket consisting of dimes and half-dollars with a total value of $10.70
How many dimes and half-dollars do you have?