high-speed train departs from Shanghai, passes through Tianjin, and finally arrives in Beijing. There were 616 people on the train at Shanghai Station. When it arrived at Tianjin Station, 378 people got off and 407 boarded. How many people are on board?
一列动车从上海出发，经过天津，最后到北京．在上海站车上有616人，到达天津站时，下车378人，上车407人，这是车上有多少人？
<gadget id="calculator">616 - 378</gadget>
<output>238</output>

<gadget id="calculator">238 + 407</gadget>
<output>645</output>

<result>645</result>