There was an equal number of boys and girls in a class at first. Halfway through a lesson, another $$12$$ boys came into the class and $$8$$ girls left the class. In the end, there were twice as many boys as girls in the class. How many students were there in the class at first? 
Overseas Competition->Knowledge Point->Word Problem Modules