To make a batch of parts, the original plan was to produce 40 parts per day, but the actual production was 10 more than the original plan per day. As a result, the task was completed 5 days ahead of schedule. How many parts were originally planned to be produced?
做一批零件，原计划每天生产40个，实际每天比原计划多生产10个，结果提前5天完成任务，原计划要生产多少个零件？
<gadget id="calculator">5 / 10</gadget>
<output>1/2 = around 0.5</output>

<gadget id="calculator">40 * (1/2)</gadget>
<output>20</output>

<gadget id="calculator">20 + 5</gadget>
<output>25</output>

<gadget id="calculator">25 * 40</gadget>
<output>1_000</output>

<result>1_000</result>