The fruit shop shipped 500 kilograms of apples, sold 152 kilograms in the morning and 187 kilograms in the afternoon, how many kilograms are left?
水果店运来500千克苹果，上午卖了152千克，下午卖了187千克，还剩多少千克？
<gadget id="calculator">152 + 187</gadget>
<output>339</output>

<gadget id="calculator">500 - 339</gadget>
<output>161</output>

<result>161</result>