The school used 100 tons of tap water and 1,000 kWh of electricity last month. The unit price of tap water is 2.9 yuan/ton, and the unit price of electricity is 0.58 yuan/kWh. How much did the school pay for utilities last month?
学校上个月用了100吨自来水和1000千瓦时电．自来水的单价是2.9元/吨，电的单价是0.58元/千瓦时．学校上个月要付水电费共多少元？
<gadget id="calculator">100 * 2.9</gadget>
<output>290</output>

<gadget id="calculator">1_000 * 0.58</gadget>
<output>580</output>

<gadget id="calculator">290 + 580</gadget>
<output>870</output>

<result>870</result>