The average weight of 18 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.  Choose the correct choice from the following: A) 48.68077 B) 42.25983 C) 50 D) 51.25388 E) 52.25

Rationale: "explanation : average weight of 18 boys = 50.25 total weight of 18 boys = 50.25 × 18 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 × 18 ) + ( 45.15 × 8 ) total boys = 18 + 8 = 26 average weight of all the boys = ( 50.25 × 18 ) + ( 45.15 × 8 ) / 26 = 48.68077 answer : option a"
Answer: A