#D8935. Game

    ID: 7424 Type: Default 1000ms 134MiB

Game

Game

Problem statement

Two players are playing the game. The rules of the game will be described below.

There is a board of N×N N × N squares, and each square has the number Xi,j X_ {i, j} (1 leqi,j leqN 1 \ leq i, j \ leq N ) written on it. The first move and the second move alternately select hands and accumulate points. The first move has F F points and the second move has 0 0 points.

t t Shows the player's actions on the turn (1 leqt leq2N 1 \ leq t \ leq 2N ).

  1. If you lose, no matter what move you and your opponent choose, immediately declare the loss and end the game.
  2. Choose a number from 1,2,...,N 1,2, ..., N that you have never chosen and use it as Yt Y_t .
  3. When the first move (that is, t t is odd) and t>1 t> 1 , the first move gets XYt,Yt1 X_ {Y_ {t}, Y_ {t-1}} points. When t=1 t = 1 , there is no change in the score of the first move.
  4. When it is the second move (that is, t t is an even number), the second player gets XYt1,Yt X_ {Y_ {t-1}, Y_ {t}} points.
  5. When t=2N t = 2N , win / loss judgment is made and the game ends. If the player who has the most points wins and the points are the same, it is a draw.
  6. End the turn and give your opponent a turn.

The first move and the second move are selected based on the following criteria.

  1. If there is a move that you can win, choose that move. If there are multiple moves that you can win, choose the move that will end the game in the shortest time.
  2. If you don't have a winning move, choose a draw if you have one.
  3. Choose a move that will end the game at the longest when you have only a losing move.

Find out the outcome of the game and how many turns the game will end when the first move and the second move choose their moves based on these criteria.

Constraint

  • 1 leqN leq8 1 \ leq N \ leq 8
  • 105 leqF leq105 -10 ^ 5 \ leq F \ leq 10 ^ 5
  • 105 leqXi,j leq105 -10 ^ 5 \ leq X_ {i, j} \ leq 10 ^ 5

input

Input follows the following format. All given numbers are integers.

N N F F X1,1 X_ {1,1} X1,2 X_ {1,2} ... ... X1,N X_ {1, N} X2,1 X_ {2,1} X2,2 X_ {2,2} ... ... X2,N X_ {2, N} ... ... XN,1 X_ {N, 1} XN,2 X_ {N, 2} ... ... XN,N X_ {N, N}

output

Output "First" if the first move wins, "Second" if the second move wins, and "Draw" if it is a draw. Print on the second line how many turns the game will end.

Examples

Input

2 0 1 3 1 1

Output

Second 3

Input

2 100 0 0 0 0

Output

First 2

Input

2 5 3 4 7 6

Output

Draw 4

inputFormat

input

Input follows the following format. All given numbers are integers.

N N F F X1,1 X_ {1,1} X1,2 X_ {1,2} ... ... X1,N X_ {1, N} X2,1 X_ {2,1} X2,2 X_ {2,2} ... ... X2,N X_ {2, N} ... ... XN,1 X_ {N, 1} XN,2 X_ {N, 2} ... ... XN,N X_ {N, N}

outputFormat

output

Output "First" if the first move wins, "Second" if the second move wins, and "Draw" if it is a draw. Print on the second line how many turns the game will end.

Examples

Input

2 0 1 3 1 1

Output

Second 3

Input

2 100 0 0 0 0

Output

First 2

Input

2 5 3 4 7 6

Output

Draw 4

样例

2 5
3 4
7 6
Draw

4

</p>