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 answer:
A) 48.68077 B) 42.25983 C) 50 D) 51.25388 E) 52.25
<gadget id="calculator">18 * 50.25</gadget>
<output>904.5</output>

<gadget id="calculator">8 * 45.15</gadget>
<output>361.2</output>

<gadget id="calculator">904.5 + 361.2</gadget>
<output>1_265.7</output>

<gadget id="calculator">18 + 8</gadget>
<output>26</output>

<gadget id="calculator">1_265.7 / 26</gadget>
<output>48.680769</output>

<result>A</result>
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.
divide(add(multiply(18, 50.25), multiply(8, 45.15)), add(18, 8))
"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"