There are 500 people standing in a row, counting from 1 from left to right, the person who reported an even number for the first time stays, and the rest quit. Those who stay will start counting from l from left to right. For the second time, those who report even numbers will stay, and the rest will quit. Going on in this way, the last person left is at the first position from the left.
有500人站成一排，从左至右从1开始报数，第一次报双数的人留下，其余的人退出．留下的人再从左至右从l开始报数，第二次依然是报双数的人留下，其余的人退出．如此进行下去，最后留下的一个人最初在左起第多少个位置．
<gadget id="calculator">2 ** 8</gadget>
<output>256</output>

<result>256</result>