#include <bits/stdc++.h>
using namespace std;
const int INIT = 1 << 30;
const int INF = 1 << 25;
int dp[40][1 << 20];
char T[20][21];
int n;
int solve(int turn, int bit) {
  int &ret = dp[turn][bit];
  if (ret != INIT) return ret;
  if (turn == 2 * n - 2) return ret = 0;
  if (turn & 1)
    ret = -INF;
  else
    ret = INF;
  for (char ch = 'a'; ch <= 'z'; ch++) {
    int nxt = 0;
    for (int r = 0; r < n; r++) {
      if ((bit & (1 << r)) == 0) continue;
      int c = turn - r;
      if (c < 0 || c >= n) continue;
      int nc = c + 1;
      int nr = r + 1;
      if (nc < n && T[r][nc] == ch) nxt |= (1 << r);
      if (nr < n && T[nr][c] == ch) nxt |= (1 << nr);
    }
    if (nxt) {
      int tmp = solve(turn + 1, nxt);
      if (ch == 'a')
        tmp++;
      else if (ch == 'b')
        tmp--;
      if (turn & 1)
        ret = max(ret, tmp);
      else
        ret = min(ret, tmp);
    }
  }
  return ret;
}
int main() {
  scanf("%d", &n);
  for (int i = 0; i < n; i++) {
    scanf("%s", T[i]);
  }
  fill((int *)dp, (int *)(dp + 40), INIT);
  int tmp = solve(0, 1);
  if (T[0][0] == 'a')
    tmp++;
  else if (T[0][0] == 'b')
    tmp--;
  if (tmp > 0) {
    printf("FIRST\n");
  } else if (tmp < 0) {
    printf("SECOND\n");
  } else {
    printf("DRAW\n");
  }
}
