Weird Game

Yaroslav, Andrey and Roman can play cubes for hours and hours. But the game is for three, so when Roman doesn’t show up, Yaroslav and Andrey play another game.

Roman leaves a word for each of them. Each word consists of 2·n binary characters “0” or “1”. After that the players start moving in turns. Yaroslav moves first. During a move, a player must choose an integer from 1 to 2·n, which hasn’t been chosen by anybody up to that moment. Then the player takes a piece of paper and writes out the corresponding character from his string.

Let’s represent Yaroslav’s word as s = s 1 s 2… s 2n. Similarly, let’s represent Andrey’s word as t = t 1 t 2… t 2n. Then, if Yaroslav choose number k during his move, then he is going to write out character s k on the piece of paper. Similarly, if Andrey choose number r during his move, then he is going to write out character t r on the piece of paper.

The game finishes when no player can make a move. After the game is over, Yaroslav makes some integer from the characters written on his piece of paper (Yaroslav can arrange these characters as he wants). Andrey does the same. The resulting numbers can contain leading zeroes. The person with the largest number wins. If the numbers are equal, the game ends with a draw.

You are given two strings s and t. Determine the outcome of the game provided that Yaroslav and Andrey play optimally well.

Input

The first line contains integer n (1 ≤ n ≤ 106). The second line contains string s — Yaroslav’s word. The third line contains string t — Andrey’s word.

It is guaranteed that both words consist of 2·n characters “0” and “1”.

Output

Print “First”, if both players play optimally well and Yaroslav wins. If Andrey wins, print “Second” and if the game ends with a draw, print “Draw”. Print the words without the quotes.

Examples

input

2
0111
0001

output

First

input

3
110110
001001

output

First

input

3
111000
000111

output

Draw

input

4
01010110
00101101

output

First

input

4
01100000
10010011

output

Second

Solution:

#include <cstring>
#include <vector>
#include <list>
#include <map>
#include <set>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <ctime>

using namespace std;

int a[4444444], b[4444444];

int main() {
int n;
scanf("%d", &n);
for (int i=0;i<2*n;i++) {
    char ch = getchar();
    while (ch != '0' && ch != '1') ch = getchar();
    a[i] = ch-48;
  }
  for (int i=0;i<2*n;i++) {
    char ch = getchar();
    while (ch != '0' && ch != '1') ch = getchar();
    b[i] = ch-48;
  }
  int k11 = 0, k01 = 0, k10 = 0, k00 = 0;
  for (int i=0;i<2*n;i++) {
    if (a[i] == 1 && b[i] == 1) k11++;
    if (a[i] == 1 && b[i] == 0) k10++;
    if (a[i] == 0 && b[i] == 1) k01++;
    if (a[i] == 0 && b[i] == 0) k00++;
  }
  int bal = 0;
  for (int i=1;i<=2*n;i++) {
    if (k11 > 0) {
if (i & 1) bal++;
else bal--;
k11--;
} else
if (k10 > 0) {
if (i & 1) bal++;
else bal = bal;
k10--;
} else
if (k01 > 0) {
if (i & 1) bal = bal;
else bal--;
k01--;
} else {
k00--;
}
}
if (bal > 0) puts("First"); else
if (bal < 0) puts("Second");
  else puts("Draw");
  return 0;
}