Score : $800$ points
Takahashi and Aoki will play a game on a tree. The tree has $N$ vertices numbered $1$ to $N$, and the $i$-th of the $N-1$ edges connects Vertex $a_i$ and Vertex $b_i$.
At the beginning of the game, each vertex contains a coin. Starting from Takahashi, he and Aoki will alternately perform the following operation:
The player who becomes unable to play, loses the game. That is, the player who takes his turn when there is no coin remaining on the tree, loses the game. Determine the winner of the game when both players play optimally.
Input is given from Standard Input in the following format:
$N$ $a_1$ $b_1$ $a_2$ $b_2$ $:$ $a_{N-1}$ $b_{N-1}$
Print First
if Takahashi will win, and print Second
if Aoki will win.
3 1 2 2 3
First
Here is one possible progress of the game:
6 1 2 2 3 2 4 4 6 5 6
Second
7 1 7 7 4 3 4 7 5 6 3 2 1
First