Two boxes A and B each contain the same number of jewels. After transferring a piece of jewelry worth 50,000 yuan in box A to box B, the average value of the jewels in box A will decrease by 10,000 yuan, and the average value of jewelry in box B will The value increased by 10,000 yuan. What is the total value of the jewels in the two boxes?
甲、乙两盒中各装有相同件数的珠宝，将甲盒中一件价值5万元的珠宝转如乙盒后，甲盒中珠宝的平均价值减少1万元，乙盒中珠宝的平均价值增加1万元．则两盒中珠宝总价值是多少万元．
<gadget id="calculator">2 + 10</gadget>
<output>12</output>

<result>12</result>