Two trains, A and B, depart from cities A and B at 22:00 and travel towards each other. At 23:45, the distance between the two vehicles was 976 kilometers, and at 0:15 midnight, the distance between the two vehicles was 824 kilometers. At 2:00 in the morning, the two cars meet in a certain place. What is the distance in miles between A and B?
甲乙两列火车22：00分别从A、B两城开出，相向而行．23：45时两车相976千米，到午夜0：15两车相距824千米．到凌晨2：00两车在某地相遇．A、B两城相距多少千米．
<gadget id="calculator">976 - 824</gadget>
<output>152</output>

<gadget id="calculator">152 / 0.5</gadget>
<output>304</output>

<gadget id="calculator">304 * 4</gadget>
<output>1_216</output>

<result>1_216</result>