Two trains, A and B, depart from opposite places at the same time. A travels 82.5 kilometers per hour, and B travels 84.5 kilometers per hour. After 3.5 hours, the distance between the two trains is still 2.5 kilometers. What is the total length in kilometers between the two places?
甲乙两辆火车同时从两地相对开出，甲每小时行82.5千米，乙每小时行84.5千米，两车开出3.5小时后还相距2.5千米．两地间的全长是多少千米？
<gadget id="calculator">82.5 + 84.5</gadget>
<output>167</output>

<gadget id="calculator">167 * 3.5</gadget>
<output>584.5</output>

<gadget id="calculator">584.5 + 2.5</gadget>
<output>587</output>

<result>587</result>