The school is going to paint a classroom. It is known that the length of the classroom is 8 meters, the width is 6 meters, and the height is 3 meters. The area after deducting the doors and windows is 12.5 square meters. If the paint costs 5 yuan to paint 1m**2, how much will it cost to paint the classroom?
学校要粉刷一间教室．已知教室的长是8米，宽6米，高是3米，扣除门窗的面积12.5平方米，如果粉刷1m**2要用涂料费5元，粉刷这个教室一共要花多少元？
<gadget id="calculator">8 * 6</gadget>
<output>48</output>

<gadget id="calculator">8 * 3 * 2</gadget>
<output>48</output>

<gadget id="calculator">6 * 3 * 2</gadget>
<output>36</output>

<gadget id="calculator">36 - 12.5</gadget>
<output>23.5</output>

<gadget id="calculator">48 + 48 + 23.5</gadget>
<output>119.5</output>

<gadget id="calculator">5 * 119.5</gadget>
<output>597.5</output>

<result>597.5</result>