The school cafeteria had 12 apples. If they used 8 to make lunch for the students and then bought 19 more, how many apples would they have?
<gadget id="calculator">12 + 19</gadget>
<output>31</output>

<gadget id="calculator">31 - 8</gadget>
<output>23</output>

<result>23</result>