All rhe 8 digit numbers are from 10,000,000 to 99,999,999
And there are (99,999,999 - 10,000,000,000) + 1 = 90,000, 000 of these
So, we have 45,000,000 pairs and each pair sums to (10,000,000 + 99,999,999).....the sum is just (10,000,000 + 99,999,999) * (45,000,000) = 4,949,999,955,000,000
And all the 10 digit numbers are from 1,000,000,000 to 9,999,999,999
And there are (9,999,999,999 - 1,000,000,000) + 1 = 9,000,000,000 of these
So, we have 4,500,000,000 pairs of these.......and each pair sums to (1,000,000,000 + 9,999,999,999).....so the total sum is just (1,000,000,000 + 9,999,999,999) * (4,500,000,000) = 4,949,999,999,550,0000,000
So the total sum is 4,949,999,955,000,000 + 49,499,999,995,500,000,000 = 49,504,949,995,455,000,000
