To celebrate Children's Day, the kindergarten bought back 400 prizes and distributed them to 8 classes, leaving 40 prizes. How many prizes are awarded per class on average?
庆六一活动，幼儿园买回400份奖品，分给8个班后，还剩下40份．平均每班分得奖品多少份？
<gadget id="calculator">400 - 40</gadget>
<output>360</output>

<gadget id="calculator">360 / 8</gadget>
<output>45</output>

<result>45</result>