The question is as the following:
问题如下:
In the game of Nim, two players alternately take marbles from a pile. In each move, a player chooses how many marbles to take. The player must take at least one but at most half of the marble. Then the other player takes a turn. The palyer who takes the last marble loses. In