#include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 5;
inline int read() {
  int x = 0;
  char ch = getchar();
  while (ch < '0' || ch > '9') ch = getchar();
  while ('0' <= ch && ch <= '9') x = x * 10 + ch - '0', ch = getchar();
  return x;
}
int t, n, a[N], cnt[50];
int main() {
  t = read();
  while (t--) {
    n = read();
    memset(cnt, 0, sizeof(cnt));
    for (register int i = 1; i <= n; i++) {
      a[i] = read();
      for (register int j = 0; j <= 29; j++)
        if (a[i] & (1 << j)) cnt[j]++;
    }
    int ans = 0;
    for (register int j = 29; j >= 0; j--) {
      if (cnt[j] & 1) {
        if (cnt[j] % 4 == 1) {
          ans = 1;
          break;
        } else {
          if (n & 1)
            ans = -1;
          else
            ans = 1;
          break;
        }
      }
    }
    if (ans == 1) puts("WIN");
    if (ans == 0) puts("DRAW");
    if (ans == -1) puts("LOSE");
  }
}
