Two people, A and B, set off at the same time and walk towards each other. The distance is 50 kilometers. A walks 3 kilometers per hour, B walks 2 kilometers per hour, and a puppy walks 5 kilometers per hour. It starts with A. When it met B, it walked towards A, and when it met A, it walked towards B. Ask the puppy how many kilometers it traveled in total when A and B met?
甲乙两人，同时出发，相向而行，距离是50千米，甲每小时走3千米，乙每小时走2千米，一只小狗每小时走5千米，它同甲一起出发，碰到乙时它又往甲这边走，碰到甲又往乙这边走，问小狗在甲乙相遇时，一共走了多少千米？
<gadget id="calculator">3 + 2</gadget>
<output>5</output>

<gadget id="calculator">50 / 5</gadget>
<output>10</output>

<gadget id="calculator">10 * 5</gadget>
<output>50</output>

<result>50</result>