The sixth grade held a table tennis singles competition, and a total of 32 people participated in the competition. If a knockout game is adopted (two people play a game, the winner continues the game, and the loser is eliminated), and the final champion will be produced, then how many games will be played in total.
六年级进行乒乓球单打比赛，共有32人参加比赛．如果采用淘汰赛(二人打一场胜者继续比赛，败者淘汰)，最的产生一名冠军，那么一共要打多少场比赛．
<gadget id="calculator">32 / 2</gadget>
<output>16</output>

<gadget id="calculator">32 / 2 / 2</gadget>
<output>8</output>

<gadget id="calculator">32 / 2 / 2 / 2</gadget>
<output>4</output>

<gadget id="calculator">32 / 2 / 2 / 2 / 2</gadget>
<output>2</output>

<gadget id="calculator">2 / 2</gadget>
<output>1</output>

<gadget id="calculator">16 + 8 + 4 + 2 + 1</gadget>
<output>31</output>

<result>31</result>