The ratio of two numbers A and B is 5:2, and the difference between the two numbers is 24. What is the sum of these two numbers?
甲、乙两数之比是5：2，两数的差是24，这两个数的和是多少．
<gadget id="calculator">5 - 2</gadget>
<output>3</output>

<gadget id="calculator">24 / 3</gadget>
<output>8</output>

<gadget id="calculator">5 + 2</gadget>
<output>7</output>

<gadget id="calculator">8 * 7</gadget>
<output>56</output>

<result>56</result>