Let the number of boys and girls in the class be and respectively. Then,
Mean weight of boys
Mean weight of girls
Mean weight of all student
From (i) and (ii), we have = 100, = 50
Hence, there are 50 boys and 100 girls in the class.