train was traveling from Beijing to Guangzhou. Before entering Wuhan, there were 958 passengers on board. After entering Wuhan Station, 578 people got off the train and 684 passengers got on the train. When it left Wuhan, how many passengers were there in total? (Please write down the formulas for the two solutions)
一列火车从北京开往广州，进入武汉之前，车上有乘客958人，进入武汉站，下车578人，上车的乘客有684人，再从武汉开出时，车上共有多少乘客？(请你写出两种解法的算式)
<gadget id="calculator">958 - 578</gadget>
<output>380</output>

<gadget id="calculator">380 + 684</gadget>
<output>1_064</output>

<result>1_064</result>