#include <bits/stdc++.h>
using namespace std;
const int INF = 2147483647;
const int N = 100005;
int z, i, j, l, tab[N], n, win;
int main() {
  scanf("%d", &z);
  while (z--) {
    scanf("%d", &n);
    for (i = 0; i < n; i++) scanf("%d", &tab[i]);
    win = 0;
    for (j = 29; j >= 0; j--) {
      l = 0;
      for (i = 0; i < n; i++)
        if (tab[i] & (1 << j)) l++;
      if (l % 2 == 0) continue;
      if (l % 4 == 1 || n % 2 == 0) win = 1;
      break;
    }
    if (j == -1)
      printf("DRAW\n");
    else if (win)
      printf("WIN\n");
    else
      printf("LOSE\n");
  }
  return 0;
}
