A Coloring Game
Two players play a graph coloring game. They make moves in turn, first player moves first. Initially they take some undirected graph. At each move, a player can color an uncolored vertex with either white or black color (each player can use any color, possibly different at different turns). It’s not allowed to color two adjacent vertices with the same color. A player that can’t move loses.
After playing this game for some time, they decided to study it. For a start, they’ve decided to study very simple kind of graph — a chain. A chain consists of N vertices, v_1, v_2, ..., v_N, and N-1 edges, connecting v_1 with v_2, v_2 with v_3, ...,v_{N-1} with v_N.
Given a position in this game, and assuming both players play optimally, who will win?
Input
The first line of the input file contains the integer N, 1 ≤ N ≤ 100000.
The second line of the input file describes the current position. It contains N digits without spaces. i^th digit describes the color of vertex v_i: 0 — uncolored, 1 — black, 2 — white. No two vertices of the same color are adjacent.
Output
On the only line of the output file, print "FIRST" (without quotes) if the player moving first in that position wins the game, and "SECOND" (without quotes) otherwise.