Both numbers A and B contain only prime factors 3 and 5, and their greatest common factor is 75. It is known that A has 12 factors and B has 10 factors. What is the sum of the two numbers A and B?
A、B两个数都只含有素因数3和5，它们的最大公因数是75，已知A有12个因数，B有10个因数，那么A、B两数的和等于多少．
<gadget id="calculator">3 ** 3</gadget>
<output>27</output>

<gadget id="calculator">5 ** 2</gadget>
<output>25</output>

<gadget id="calculator">27 * 25</gadget>
<output>675</output>

<gadget id="calculator">5 ** 4</gadget>
<output>625</output>

<gadget id="calculator">3 * 625</gadget>
<output>1_875</output>

<gadget id="calculator">675 + 1_875</gadget>
<output>2_550</output>

<result>2_550</result>