There are 12 matches in a pile. If it is stipulated to take 1 to 3 matches at a time, how many different ways to take the matches?
有一堆火柴共12根，如果规定每次取1至3根，那么取完这堆火柴共有多少种不同的取法？
<gadget id="calculator">1 + 2 + 4</gadget>
<output>7</output>

<gadget id="calculator">2 + 4 + 7</gadget>
<output>13</output>

<gadget id="calculator">4 + 7 + 13</gadget>
<output>24</output>

<gadget id="calculator">7 + 13 + 24</gadget>
<output>44</output>

<gadget id="calculator">13 + 24 + 44</gadget>
<output>81</output>

<gadget id="calculator">24 + 44 + 81</gadget>
<output>149</output>

<gadget id="calculator">44 + 81 + 149</gadget>
<output>274</output>

<gadget id="calculator">81 + 149 + 274</gadget>
<output>504</output>

<gadget id="calculator">149 + 274 + 504</gadget>
<output>927</output>

<result>927</result>