Xiao Ming has multiple RMB denominations of 1 yuan, 2 yuan, and 5 yuan. He wants to use no more than 10 of them to buy a kite priced at 18 yuan. He requires at least two denominations of RMB. How many payment methods are there?
小明有多张面额为1元、2元、5元的人民币，他想用其中不多于10张的人民币购买一只价格为18元的风筝，要求至少用两种面额的人民币，那么不同的付款方式有多少种．
<gadget id="calculator">6 + 2 + 1</gadget>
<output>9</output>

<result>9</result>