The total number of students in a certain school this year is 1040, an increase of 4% over last year, of which boys have increased by 10% and girls have decreased by 5%. How many boys were there last year?
某校今年学生总人数是1040人，比去年增加了4%，其中男生增加了10%，女生减少了5%，去年男生有多少人．
<gadget id="calculator">4 / 100</gadget>
<output>1/25 = around 0.04</output>

<gadget id="calculator">1 + (1/25)</gadget>
<output>26/25 = around 1.04</output>

<gadget id="calculator">1_040 / (26/25)</gadget>
<output>1_000</output>

<gadget id="calculator">5 / 100</gadget>
<output>1/20 = around 0.05</output>

<gadget id="calculator">1_000 * (1/20)</gadget>
<output>50</output>

<gadget id="calculator">1_040 - 1_000</gadget>
<output>40</output>

<gadget id="calculator">50 + 40</gadget>
<output>90</output>

<gadget id="calculator">10 / 100</gadget>
<output>1/10 = around 0.1</output>

<gadget id="calculator">(1/20) - 1</gadget>
<output>-19/20 = around -0.95</output>

<gadget id="calculator">1 + (1/10) + (-19/20)</gadget>
<output>3/20 = around 0.15</output>

<gadget id="calculator">90 / (3/20)</gadget>
<output>600</output>

<result>600</result>