Codeforces Round 429 (Div. 2)
B
Godsend
Codeforces
1100
原题
← AC →
翻译中…

Leha somehow found an array consisting of $*n*$ integers. Looking at it, he came up with a task. Two players play the game on the array. Players move one by one. The first player can choose for his move a subsegment of non-zero length with an odd sum of numbers and remove it from the array, after that the remaining parts are glued together into one array and the game continues. The second player can choose a subsegment of non-zero length with an even sum and remove it. Loses the one who can not make a move. Who will win if both play optimally?

翻译中…

Input

翻译中…

First line of input data contains single integer $*n*$ ($1 ≤ *n* ≤ 10^{6}$) — length of the array.

翻译中…

Next line contains $*n*$ integers $*a*_{1}, *a*_{2}, ..., *a*_{*n*}$ ($0 ≤ *a*_{*i*} ≤ 10^{9}$).

翻译中…

Output

翻译中…

Output answer in single line. "First", if first player wins, and "Second" otherwise (without quotes).

翻译中…

Note

翻译中…

In first sample first player remove whole array in one move and win.

翻译中…

In second sample first player can't make a move and lose.

翻译中…

样例

Input #1
4
1 3 2 3
Output #1
First
InputCopy OutputCopy
Input #2
2
2 2
Output #2
Second
InputCopy OutputCopy
题目信息
题号
841B
时间限制
2 s
内存限制
256 MB
标签
博弈论
数学

题面与样例版权归 Codeforces 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。