There are 2 yuan, 1 yuan, 50 cents, 20 cents, and 10 cents each, how many different currency values can be formed in total.
现有2元、1元、5角、2角、1角钱各一张，一共可以组成不同币值多少种．
<gadget id="calculator">5 + 10 + 10 + 5 + 1</gadget>
<output>31</output>

<result>31</result>