There are 50/2 = <<50/2=25>>25 students in each section now.
So, there were 25 - 2 = <<25-2=23>>23 students in section Diligence before 2 students were transferred in their section.
#### 23