There are more than 40 candies in a bag, whether it is distributed to 8 children or 6 children on average, it is just finished. How many candies are in this bag?
一袋糖果40多个，不论平均分给8个小朋友，还是平均分给6个小朋友，都刚好分完，这袋糖果是多少个？
<result>48</result>