The number A is ABC, the number B is DDC, and the sum of A and B is DDCC. Each letter represents a number in 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, and different letters represent different numbers. So how much is A+B*(C+D)=.
甲数是ABC，乙数是DDC，甲、乙两数的和是DDCC．每个字母代表0，1，2，3，4，5，6，7，8，9中的一个数字，且不同的字母代表不同的数字．那么A+B*(C+D)=多少．
<gadget id="calculator">10 - 1</gadget>
<output>9</output>

<gadget id="calculator">0 + 1</gadget>
<output>1</output>

<gadget id="calculator">1 * 1</gadget>
<output>1</output>

<gadget id="calculator">9 + 9</gadget>
<output>18</output>

<result>18</result>