There were 40 more girls than boys in the school hall. 2/5 of the girls and 1/3 of the boys left the hall. In the end, there were 18 more girls than boys remaining in the hall.
Find the total number of girls and boys in the hall at first. Ans: 220
Please help. Thank you.
Source: 2020 P6 CA1 ACS(J)