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?
There are 50/2 = 
<gadget id="calculator">50/2</gadget>
<output>25</output>
25 students in each section now.
So, there were 25 - 2 = 
<gadget id="calculator">25-2</gadget>
<output>23</output>
23 students in section Diligence before 2 students were transferred in their section.

<result>23</result>