Two cars are running towards each other from two cities at the same time. Car A travels 50 kilometers per hour, and car B travels 60 kilometers per hour. After 3 hours, the distance between the two cars is 140 kilometers. They have not met yet. How far is the distance between A and B?
两辆车同时从两城相对而行，甲车每小时行驶50千米，乙车每小时行驶60千米，3小时后两车相距140千米，还未相遇，甲乙两城相距多远？
<gadget id="calculator">50 + 60</gadget>
<output>110</output>

<gadget id="calculator">110 * 3</gadget>
<output>330</output>

<gadget id="calculator">330 + 140</gadget>
<output>470</output>

<result>470</result>