Score : $700$ points
Given is an undirected graph $G$ consisting of $N$ vertices numbered $1$ through $N$ and $M$ edges numbered $1$ through $M$. Edge $i$ connects Vertex $a_i$ and Vertex $b_i$ bidirectionally.
$G$ is said to be a good graph when both of the conditions below are satisfied. It is guaranteed that $G$ is initially a good graph.
Taro the first and Jiro the second will play a game against each other. They will alternately take turns, with Taro the first going first. In each player's turn, the player can do the following operation:
The player whose addition of an edge results in $G$ being no longer a good graph loses. Determine the winner of the game when the two players play optimally.
You are given $T$ test cases. Solve each of them.
Input is given from Standard Input in the following format:
$T$ $\mathrm{case}_1$ $\vdots$ $\mathrm{case}_T$
Each case is in the following format:
$N$ $M$ $a_1$ $b_1$ $\vdots$ $a_M$ $b_M$
Print $T$ lines. The $i$-th line should contain First
if Taro the first wins in the $i$-th test case, and Second
if Jiro the second wins in the test case.
3 3 0 6 2 1 2 2 3 15 10 12 14 8 3 10 1 14 6 12 6 1 9 13 1 2 5 3 9 7 2
First Second First