A laboratory needs flasks, test tubes, and safety gear to carry out its experiments. They were given a $325 budget for the month. They bought $150 worth of flasks, spent two-thirds of that amount on test tubes, and used half of the test tube cost on safety gear. How many dollars of their budget remained?
The laboratory spent 2 / 3 * 150 = 300 / 3 = $
<gadget id="calculator">2/3*150</gadget>
<output>100</output>
100 on test tubes.
They spent a further 100 / 2 = $
<gadget id="calculator">100/2</gadget>
<output>50</output>
50 on safety gear.
In all, they spent 150 + 100 + 50 = $
<gadget id="calculator">150+100+50</gadget>
<output>300</output>
300.
Thus, 325 - 300 = $
<gadget id="calculator">325-300</gadget>
<output>25</output>
25 of the laboratory's budget remained.

<result>25</result>