The average weight of 20 boys in a class is 50.25 kg and that of the remaining 8 boys is 45.15 kg. Find the average weights of all the boys in the class. Select
A) 48.79286
B) 42.25
C) 50.87364
D) 51.25
E) 52.25474

Rationale: "explanation : average weight of 20 boys = 50.25 total weight of 20 boys = 50.25 × 20 average weight of remaining 8 boys = 45.15 total weight of remaining 8 boys = 45.15 × 8 total weight of all boys in the class = ( 50.25 × 20 ) + ( 45.15 × 8 ) total boys = 20 + 8 = 28 average weight of all the boys = ( 50.25 × 20 ) + ( 45.15 × 8 ) / 28 = answer : option a"
Answer: A