#AGC010D. [AGC010D] Decrementing

[AGC010D] Decrementing

Score : 10001000 points

Problem Statement

There are NN integers written on a blackboard. The ii-th integer is AiA_i, and the greatest common divisor of these integers is 11.

Takahashi and Aoki will play a game using these integers. In this game, starting from Takahashi the two player alternately perform the following operation:

  • Select one integer on the blackboard that is not less than 22, and subtract 11 from the integer.
  • Then, divide all the integers on the black board by gg, where gg is the greatest common divisor of the integers written on the blackboard.

The player who is left with only 11s on the blackboard and thus cannot perform the operation, loses the game. Assuming that both players play optimally, determine the winner of the game.

Constraints

  • 1N1051 \leq N \leq 10^5
  • 1Ai1091 \leq A_i \leq 10^9
  • The greatest common divisor of the integers from A1A_1 through ANA_N is 11.

Input

The input is given from Standard Input in the following format:

NN

A1A_1 A2A_2ANA_N

Output

If Takahashi will win, print First. If Aoki will win, print Second.

3
3 6 7
First

Takahashi, the first player, can win as follows:

  • Takahashi subtracts 11 from 77. Then, the integers become: (1,2,2)(1,2,2).
  • Aoki subtracts 11 from 22. Then, the integers become: (1,1,2)(1,1,2).
  • Takahashi subtracts 11 from 22. Then, the integers become: (1,1,1)(1,1,1).
4
1 2 4 8
First
5
7 8 8 8 8
Second