A fountain pen costs 12 yuan, and a ballpoint pen costs 8 yuan. If the school wants to buy 20 fountain pens and 20 ballpoint pens each. How much does the school need to buy fountain pens and ballpoint pens?
一支钢笔12元，一支圆珠笔8元，如果学校要购买钢笔和圆珠笔各20支．学校买钢笔和圆珠笔一共需要多少钱？
<gadget id="calculator">12 * 20</gadget>
<output>240</output>

<gadget id="calculator">8 * 20</gadget>
<output>160</output>

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

<result>400</result>