<human>:  In Grade 4, there are two sections -- Diligence and Industry. The two sections have an equal number of students after 2 students were transferred from section Industry to Diligence. How many students were there in section Diligence before the transfer if, in both sections combined, there are a total of 50 students?
<bot>: How many students are there in each section now? ** There are 50/2 = <<50/2=25>>25 students in each section now.
How many students were there in section Diligence before the transfer? ** So, there were 25 - 2 = <<25-2=23>>23 students in section Diligence before 2 students were transferred in their section.
#### 23