Tabitha has 25 dollars. She gives her mom 8 dollars and invests half what is left in a money market. She spends some money on 5 items that costs 50 cents each. How much money does Tabitha have left?
Tabitha has 25-8 = 
<gadget id="calculator">25-8</gadget>
<output>17</output>
17 dollars after giving some to her mom.
Tabitha has 17/2 = 
<gadget id="calculator">17/2</gadget>
<output>17/2 = around 8.5</output>
8.5 dollars left after putting some in a money market.
The 5 items Tabitha buys totals out to 5*0.5 = 
<gadget id="calculator">5*0.5</gadget>
<output>2.5</output>
2.50 dollars.
Tabitha has 8.5-2.5 = 
<gadget id="calculator">8.5-2.5</gadget>
<output>6</output>
6 dollars left.

<result>6</result>