405743: GYM102058 F Game on Plane

Memory Limit:1024 MB Time Limit:1 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

F. Game on Planetime limit per test1 secondmemory limit per test1024 megabytesinputstandard inputoutputstandard output

You are given $$$N$$$ points on a plane. These points are precisely the set of vertices of some regular $$$N$$$-gon. Koosaga, an extreme villain, is challenging you with a game using these points. You and Koosaga alternatively take turns, and in each turn, the player

  1. chooses two of the given points, then
  2. draws the line segment connecting the two chosen points.
Also, the newly drawn line segment must not intersect with any of the previously drawn line segments in the interior. It is possible for two segments to meet at their endpoints. If at any point of the game, there exists a convex polygon consisting of the drawn line segments, the game ends and the last player who made the move wins.

Given the integer $$$N$$$, Koosaga is letting you decide who will move first. Your task is decide whether you need to move first or the second so that you can win regardless of Koosaga's moves.

Input

The input consists of many test cases. The first line contains an integer $$$T$$$ ($$$1\leq T\leq 5000$$$), the number of test cases. Each of the following $$$T$$$ test cases is consisted of one line containing the integer $$$N$$$ ($$$3\leq N\leq 5000$$$).

Output

For each test case, print one line containing the string First if you need to move first or Second if you need to move second so that you can win regardless of Koosaga's moves.

ExampleInput
2
3
5
Output
First
Second

加入题单

上一题 下一题 算法标签: