Master Wang and Master Zhang work together to process a batch of parts. Master Wang starts at 8:00 am and processes 40 pieces per hour. Master Zhang starts at 9:00 am and processes 80 pieces per hour. The task is completed at 12:00 noon. How many parts are there in total? indivual?
王师傅和张师傅共同加工一批零件，王师傅从上午8时工作，每小时加工40个，张师傅上午9时开始，每小时加工80个，中午12时，完成任务，这批零件共多少个？
<gadget id="calculator">12 - 8</gadget>
<output>4</output>

<gadget id="calculator">40 * 4</gadget>
<output>160</output>

<gadget id="calculator">12 - 9</gadget>
<output>3</output>

<gadget id="calculator">80 * 3</gadget>
<output>240</output>

<gadget id="calculator">160 + 240</gadget>
<output>400</output>

<result>400</result>