A ship sails from port A to port B, sailing 29 kilometers per hour, and after sailing for 16 hours, it is still 38 kilometers away from port B. How many miles is the distance between A and B?
一艘轮船从A港开往B港，每时航行29千米，航行了16时后离B港还有38千米．A、B两港相距多少千米？
<gadget id="calculator">29 * 16</gadget>
<output>464</output>

<gadget id="calculator">464 + 38</gadget>
<output>502</output>

<result>502</result>