For the school bake sale Amy made pastries. She baked 15 cupcakes and 48 cookies. After the sale she had 12 to take back home. How many pastries did she sell?
<gadget id="calculator">15 + 48</gadget>
<output>63</output>

<gadget id="calculator">63 - 12</gadget>
<output>51</output>

<result>51</result>