The basketball department of a certain school decides to buy 10 basketballs, and sends Xiaowei to a sporting goods store to buy them. It happens that the sporting goods store is doing an event: buy 1 basketball for 240 yuan, buy 2 basketballs for 360 yuan, and buy 3 basketballs for 500 yuan. Xiaowei bought 10 basketballs with the least amount of money by calculating, how much does each basketball cost on average?
某校篮球部决定购买10个篮球，派小伟前往体育用品店购买，正好体育用品店做活动：买1个篮球240元，买2个360元，买3个500元．小伟通过计算用最少的钱买回来10个篮球，平均每个篮球花多少钱？
<gadget id="calculator">500 * 2</gadget>
<output>1_000</output>

<gadget id="calculator">360 * 2</gadget>
<output>720</output>

<gadget id="calculator">1_000 + 720</gadget>
<output>1_720</output>

<gadget id="calculator">1_720 / 10</gadget>
<output>172</output>

<result>172</result>