When Xiaoding was calculating addition, he wrote 8 by mistake for the 0 in the hundreds digit of one addition, and 7 for the 1 in the tens digit of the other addition. The resulting sum was 3123. What should be the correct sum?
小丁在计算加法时，把一个加数百位上的0错写成8，把另一个加数十位上的1错写成7，所得的和是3123，正确的和应该是多少？
<gadget id="calculator">70 - 10</gadget>
<output>60</output>

<gadget id="calculator">3_123 - 800 - 60</gadget>
<output>2_263</output>

<result>2_263</result>