Master Zhu and Candies

아직 제출이 없습니다시간 제한3초메모리 제한512 MB

문제

Master Zhu puts nn heaps of candies on the table. Two players are playing the following game: on their turn, each player can either pick any positive number of candies from the same heap, or split some heap into three smaller non-empty heaps. Player who picks the last candy wins.

Master Zhu wants you to find out which player will win the game if both play optimally.

입력

The first line of input contains an integer nn indicating the number of heaps (1n1061 \le n \le 10^6). The next line contains nn integers s_1,,s_ns\_1, \ldots, s\_n representing the number of candies in each heap (1s_i1091 \le s\_i \le 10^9).

출력

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