CF1899A.Game with Integers

传统题 时间 2000 ms 内存 256 MiB 3 尝试 1 已通过 1 标签

Game with Integers

Vanya and Vova are playing a game. Players are given an integer nn. On their turn, the player can add 11 to the current integer or subtract 11. The players take turns; Vanya starts. If after Vanya's move the integer is divisible by 33, then he wins. If 1010 moves have passed and Vanya has not won, then Vova wins.

Write a program that, based on the integer nn, determines who will win if both players play optimally.

Input

The first line contains the integer tt (1t1001 \leq t \leq 100) — the number of test cases.

The single line of each test case contains the integer nn (1n10001 \leq n \leq 1000).

Output

For each test case, print "First" without quotes if Vanya wins, and "Second" without quotes if Vova wins.

Samples

6
1
3
5
100
999
1000
First
Second
First
First
Second
First

在线编程 IDE

建议全屏模式获得最佳体验