Let the number of girls in the choir be represented as
When half of the boys left for practice, the number of boys remaining would be:
According to the problem, after half of the boys left, there were 12 more girls than boys remaining. We can express this relationship mathematically as:
Now, we will solve for
Next, divide by 3:
Now that we have found
Now, we need to find the total number of students in the choir:
Thus, the total number of students in the choir before the boys left is