To celebrate Children's Day, Siyuan Experimental School needs to purchase clothing for performances. Each set of children's clothing is 58 yuan, and a discount is offered: buy 4 sets and get 1 set free. If there are 40 people in class 4, how much money will it cost at least?
思源实验学校为庆祝"六一"儿童节，表演节目需要购买服装，儿童服装每套58元，推出优惠：每买4套送1套．如果四1班有40人，至少需要多少钱？
<gadget id="calculator">4 + 1</gadget>
<output>5</output>

<gadget id="calculator">40 / 5</gadget>
<output>8</output>

<gadget id="calculator">58 * 4 * 8</gadget>
<output>1_856</output>

<result>1_856</result>