A balance has 1 gram, 2 gram, 4 gram, 8 gram, and 10 gram each. It is stipulated that the weight can only be placed on the right side of the balance. How many different weights can be weighed with these 5 weights?
一个天平有1克，2克，4克，8克，10克的砝码各一个，规定砝码只能放在天平的右边，用这5个码能称出多少种不同的重量．
<gadget id="calculator">5 + 9 + 6 + 2 + 1</gadget>
<output>23</output>

<result>23</result>