#include <bits/stdc++.h>
int T, m;
int bit[33];
int a[100010];
template <typename T>
inline void read(T &x) {
  x = 0;
  char ch = getchar();
  int f = 1;
  for (; ch < '0' || ch > '9'; ch = getchar())
    if (ch == '-') f = -1;
  for (; ch >= '0' && ch <= '9'; ch = getchar()) x = x * 10 + ch - '0';
  x *= f;
}
int main() {
  read(T);
  while (T--) {
    read(m);
    int ans = 0;
    for (int i = 0; i <= 32; i++) bit[i] = 0;
    for (int i = 1; i <= m; i++) read(a[i]);
    for (int i = 1; i <= m; i++) {
      int cnt = 0;
      for (; a[i]; cnt++, a[i] >>= 1)
        if (a[i] & 1) bit[cnt]++;
    }
    for (int i = 31; i >= 0; i--)
      if (bit[i] & 1)
        if (((bit[i] + 1) / 2) % 2 == 0 && (m - bit[i]) % 2 == 0) {
          ans = -1;
          break;
        } else {
          ans = 1;
          break;
        }
    if (ans == 1)
      printf("WIN\n");
    else if (ans == -1)
      printf("LOSE\n");
    else
      printf("DRAW\n");
  }
  return 0;
}
