Beth has 72 marbles of three colors. Each color has the same amount of marbles. If Beth loses 5 red, twice as many blue, and three times as many yellow ones than red ones, how many marbles does she have left?
Beth has 72/3 = 
<gadget id="calculator">72/3</gadget>
<output>24</output>
24 marbles of each color.
Beth has 24-5 = 
<gadget id="calculator">24-5</gadget>
<output>19</output>
19 red ones left.
Beth lost 5*2 = 
<gadget id="calculator">5*2</gadget>
<output>10</output>
10 blue ones.
Beth has 24-10 = 
<gadget id="calculator">24-10</gadget>
<output>14</output>
14 blue ones left.
Beth lost 5*3 = 
<gadget id="calculator">5*3</gadget>
<output>15</output>
15 yellow ones.
Beth has 24-15 = 
<gadget id="calculator">24-15</gadget>
<output>9</output>
9 yellow ones left.
She has a total of 19+14+9 = 
<gadget id="calculator">19+14+9</gadget>
<output>42</output>
42 marbles left.

<result>42</result>