A class of 36 people went to the park to play, and the ticket purchase instructions at the park entrance said: Tickets are 8 yuan per person, and more than 40 people (including 40 people) can enjoy group discounts, 6 yuan per person. How do you think they spend the least money on tickets?
某班36人去公园游玩，公园门口购票须知上写着：门票每人8元，40人以上(含40人)可享受团体优惠，每人6元．你认为他们怎样买门票花钱最少？
<result>40</result>