#include <bits/stdc++.h>
using namespace std;
inline int read() {
  int x = 0, f = 1, c = getchar();
  while (!isdigit(c)) {
    if (c == '-') f = -1;
    c = getchar();
  }
  while (isdigit(c)) {
    x = (x << 1) + (x << 3) + (c ^ 48);
    c = getchar();
  }
  return f == 1 ? x : -x;
}
const int N = 1e5 + 4;
int n, a[N], c[40];
inline void solve() {
  memset(c, 0, sizeof(c));
  n = read();
  for (int i = 1; i <= n; i++) {
    a[i] = read();
    for (int j = 0; j < 30; j++)
      if ((a[i] >> j) & 1) c[j]++;
  }
  for (int i = 29; i >= 0; i--)
    if (c[i] & 1) {
      if (c[i] % 4 == 1) {
        puts("WIN");
      } else {
        puts((n & 1) ? "LOSE" : "WIN");
      }
      return;
    }
  puts("DRAW");
}
int main() {
  for (int T = read(); T--;) solve();
  return (0 - 0);
}
