A train was going from Linyi to Beijing with 852 people on board, 265 people got off at Jiji South Station, and 503 people boarded again. How many people were there in the car at this time?
一列火车从临沂开往北京，车上有852人，途经济南站有265人下车，又有503人上车．这时车内一共有多少人？
<gadget id="calculator">852 - 265</gadget>
<output>587</output>

<gadget id="calculator">587 + 503</gadget>
<output>1_090</output>

<result>1_090</result>