There are 1 gram, 2 gram, 4 gram, 8 gram, and 16 gram each, how many objects of different weights can be weighed at most?
有1克、2克、4克、8克、16克的砝码各一个，最多能称出多少种不同重量的物体．
<gadget id="calculator">1 + 4 + 2 + 8 + 2 + 8 + 1 + 4 + 1</gadget>
<output>31</output>

<result>31</result>