Maria has 19 cookies. She decided to give her friend 5 of them, and half of the rest to her family. From the rest, Maria decided to eat 2 cookies. How many cookies will she have left?
Maria wants to give away 5 cookies, so she will be left with 19 - 5 = 
<gadget id="calculator">19-5</gadget>
<output>14</output>
14 cookies.
Half of these will go to her family, which means 14 / 2 = 
<gadget id="calculator">14/2</gadget>
<output>7</output>
7 cookies.
Maria decided to eat 2/7 * 7 = 
<gadget id="calculator">2/7*7</gadget>
<output>2</output>
2 cookies.
So she will be left with 7 - 2 = 
<gadget id="calculator">7-2</gadget>
<output>5</output>
5 cookies.

<result>5</result>