A and B are playing a game. There are 2013 matches. In the first game, each person must take 1 match each time. In the second game, each person can take 1 or 2 matches each time. Take 1 or 2 sticks at a time and then 3 sticks... In the 2013 round, each person can get 1, 2, 3, ..., 2013 sticks each time. In each round, A is the first to get, and every time must be taken, if Before each game, B will determine whether the person who gets the last stick wins or loses. How many games does B win at most?
甲、乙两人在玩一个游戏，2013根火柴，第一局，每人每次必须拿1根，第二局，每人每次可以拿1根或2根，第三局，每人每次拿1根或2根后3根…，第2013局，每人每次可以拿1，2，3，…，2013根，每一局都是甲先拿，而且每次都必须拿，如果每局之前，乙来确定拿到最后一根的人是赢或者是输，则乙最多赢多少盘？
<gadget id="calculator">5 + 7</gadget>
<output>12</output>

<result>12</result>