Game with coins
Two players, let's call them First (she makes the first turn) and Second, are playing a game with coins. There are a few coins in a row. One coin is priceless and others are worthless (after a terrible currency drop).
On each turn, a player can take the leftmost or the rightmost coin. The player who takes the priceless coin wins.
Which player wins?
Input Format
The first line of the input contains an integer (number of testcases).
The next lines contains two integers and each. The coins are arranged in a single row such that there are worthless coins, priceless coin and worthless coins. There are coins in total.
Constraints
Output Format
For each testcase output in one line First
if the First player can force a win, otherwise output Second
.
Sample Input
2
0 3
1 1
Sample Output
First
Second
Explanation
In the first testcase First can take the priceless coin and win on the first turn.
In the second testcase no matter which coin First takes, in the next step Second wins.
xxxxxxxxxx
with Ada.Text_IO, Ada.Integer_Text_IO;
use Ada;
procedure Solution is
-- Enter your code here. Read input from STDIN. Print output to STDOUT
end Solution