시간 제한 메모리 제한 제출 정답 맞은 사람 정답 비율
1 초 256 MB 1 1 1 100.000%

문제

Consider the following two-player game on a sequence of $N$ integers. The two players move in turns. In each move, the current player selects a value which is either at the beginning of the sequence or at the end of the sequence, adds it to this player's sum and removes the value from the sequence.

This is a well-known game. However, in this task, we will deal with the case in which the players add the values to a XOR sum, not a regular sum. Initially, the XOR sums of both players are equal to $0$, and when adding a new value, bitwise XOR operation is used in place of addition.

The game ends when the sequence is empty, at which point the player with the highest XOR sum wins. Note that it is also possible for the game to end in a draw. Figure out the outcome of the game, considering the players behave optimally.

입력

The first line contains an integer $T$, the number of test cases ($1 \le T \le 12$). Each test starts with a line containing an integer $N$ ($1 \le N \le 50\,000$), followed by another line containing a sequence of $N$ positive integers ($1 \le X \le 10^9$ for all integers $X$ in the sequence).

출력

Print $T$ lines, one per test case. The $i$-th line must contain the answer for the $i$-th test. The answer must be one of the following:

  • "First" if the first player to move wins.
  • "Second" if the second player to move wins.
  • "Draw" if the game ends in a draw.

예제 입력 1

3
2
3 3
2
3 5
3
4 4 4

예제 출력 1

Draw
First
Second