Simple Game
Problem Description
Here is a simple game. In this game, there are several piles of stones and two players. The two players play in turn. In each turn, one can choose at least one pile and at most three piles to take away arbitrary number of stones from the pile (Of course the number of stones, which is taken away, cannot be zero and cannot be larger than the number of stones in the chosen pile). If after a player ′ s turn, there is no stone left, the player is the loser.
Suppose that the two players are all very smart. Your job is to tell whether the player who plays first can win the game or not.
Input
The input has multiple test cases. The first line of the input contains one integer C, which is the number of test cases.