A bag has seven apples, eight oranges, and 15 mangoes. Luisa takes out two apples from the bag, and takes out twice as many oranges as apples as she took from the bag. She then takes out 2/3 the number of mangoes from the bag. What is the remaining number of fruits in the bag?
When Luisa takes out two apples from the bag, 7 apples - 2 apples = 
<gadget id="calculator">7-2</gadget>
<output>5</output>
5 apples remain in the bag.
She also takes 2 apples * 2 oranges/apple = 
<gadget id="calculator">2*2</gadget>
<output>4</output>
4 oranges from the bag.
The total number of oranges remaining in the bag is 8 oranges - 4 oranges = 
<gadget id="calculator">8-4</gadget>
<output>4</output>
4 oranges.
Additionally, a total of 2/3 * 15 mangoes = 
<gadget id="calculator">2/3*15</gadget>
<output>10</output>
10 mangoes are also removed from the bag.
The total number of mangoes remaining in the bag is 15 mangoes - 10 mangoes = 
<gadget id="calculator">15-10</gadget>
<output>5</output>
5 mangoes.
The total number of fruits that Luisa left in the bag is 5 apples + 4 oranges + 5 mangoes = 
<gadget id="calculator">5+4+5</gadget>
<output>14</output>
14.

<result>14</result>