Number of girls at the time of the assembly started = w
Number of girls left = 40% of w


Remaining girls =


Now, the ratio of the number of boys to girls became 3 to 4.
Let n be the number of boys.
Then,

Or,


20n = 9w
or, n =

Total number of boys and girls =



Hence, the total number of boys and girs is
