1050+1025−123=1050+(1025−123)
1025 is 1 followed by 25 zeros.
Subtracting 123 from 1025: the last 3 zeros become 877, and the remaining 25−3=22 zeros each become 9.
1025−123=2299…9 877
This is a 25-digit number.
1050 is 1 followed by 50 zeros, which is a 51-digit number.
Adding 1050 places a 1 in the 51st digit position, with 25 zeros filling the gap before the 25-digit number.
1050+1025−123=12500…02299…9 877
Sum of digits =1+(25×0)+(22×9)+8+7+7
=1+0+198+22
=221