Santa Claus has 36 identical gifts, which are packed in 8 bags. It is known that the number of presents in the 8 bags is at least 1 and different. Now we need to select some bags, and distribute all the gifts in the selected bags to 8 children evenly, and just finish the distribution (every child gets at least one gift). So how many different options are there?
圣诞老人有36个同样的礼物，分别装在8个袋子中．已知8个袋子中礼物的个数至少为1且各不相同．现要从中选出一些袋子，将选出的袋子中的所有礼物平均分给8个小朋友，恰好分完(每个小朋友至少分得一个礼物)．那么，共有多少种不同的选择．
<gadget id="calculator">6 + 13 + 10 + 2</gadget>
<output>31</output>

<result>31</result>