I think the simplest way is to realise there are 100 numbers with an average value of 50.5, so the total is 100 x 50.5 = 5050.