prompt: 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?
messages.content: 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?
messages.role: user
messages.content: 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
messages.role: assistant