Both numbers A and B contain only prime factors 3 and 4, and their greatest common divisor is 36. It is known that A has 12 divisors and B has 8 divisors, so what is A+B=?
A、B两数都只含有质因数3和4，它们的最大公约数是36．已知A有12个约数，B有8个约数，那么A+B=多少．
<gadget id="calculator">3 ** 2</gadget>
<output>9</output>

<gadget id="calculator">4 ** 3</gadget>
<output>64</output>

<gadget id="calculator">9 * 64</gadget>
<output>576</output>

<gadget id="calculator">3 ** 3</gadget>
<output>27</output>

<gadget id="calculator">27 * 4</gadget>
<output>108</output>

<gadget id="calculator">576 + 108</gadget>
<output>684</output>

<result>684</result>