#P14629. [2018 KAIST RUN Fall] Game on Plane

[2018 KAIST RUN Fall] Game on Plane

题目描述

You are given NN points on a plane. These points are precisely the set of vertices of some regular NN-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

  • chooses two of the given points, then
  • 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 NN, 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.

输入格式

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

输出格式

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

2
3
5
First
Second