If there are 32 football teams participating in the 2008 Olympic Games, the elimination system will be used for the competition from beginning to end. How many games are there in total?
如果参加2008年奥运会的足球队有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>