eolymp
bolt
Try our new interface for solving problems
Problems

Game XOR

Game XOR

Consider the game for two players. Given a sequence of 0 and 1. At each turn a player must choose any two adjacent elements and to replace them in the sequence with one number - the result of the bitwise addition modulo 2 (XOR). The players take turns until there is one element left. If it will be 0 then wons the one who makes the move first, otherwise the second player wins. Determine the winner, provided that both play optimally.

Input

The first line contains an integer n (1n1000) - number of elements in the sequence. The second line contains the elements themselves - 0 and 1 separated by spaces.

Output

If the first player wins, print the word First, otherwise print Second.

Time limit 1 second
Memory limit 128 MiB
Input example #1
3
1 0 1
Output example #1
First
Author A. Milanin
Source ACM, Ukraine, First Stage, 09.04.2011