There are 1 gram, 2 gram, 4 gram, 8 gram, and 16 gram weights each. If weights are only allowed to be placed on one side of the balance, how many objects of different weights can be weighed on the balance?
现有1克、2克、4克、8克、16克的砝码各1个，若只允许在天平的一侧放砝码，天平上能称出多少种不同重量的物体．
<gadget id="calculator">5 * 4 * 3</gadget>
<output>60</output>

<gadget id="calculator">3 * 2</gadget>
<output>6</output>

<gadget id="calculator">60 / 6</gadget>
<output>10</output>

<gadget id="calculator">5 + 10 + 10 + 5 + 1</gadget>
<output>31</output>

<result>31</result>