Xiao Ming travels to Beijing by train. The speed of the train is 69 kilometers per hour. It has been driving for 12 hours, and it is still 642 kilometers away from Beijing. How many kilometers is the distance between Beijing and Shanghai?
小明乘火车去北京旅游，火车的速度是每小时69千米，已经开了12小时，离北京还有642千米．北京与上海相距多少千米？
<gadget id="calculator">69 * 12</gadget>
<output>828</output>

<gadget id="calculator">828 + 642</gadget>
<output>1_470</output>

<result>1_470</result>