#include <bits/stdc++.h>
using namespace std;
mt19937 mtrand(time(0));
const int mx = 1e5 + 10;
int n, k, l;
int tt[mx];
void solve() {
  for (int i = 33; i >= 0; --i) {
    if (tt[i] % 2 == 1) {
      if (tt[i] == 1) {
        puts("WIN");
        return;
      } else {
        if (tt[i] % 4 == 1) {
          puts("WIN");
          return;
        } else {
          if (n % 2 == 0) {
            puts("WIN");
            return;
          } else {
            puts("LOSE");
            return;
          }
        }
      }
    }
  }
  puts("DRAW");
}
int main() {
  int t, x;
  scanf("%d", &t);
  while (t--) {
    scanf("%d", &n);
    for (int i = 0; i <= 33; ++i) tt[i] = 0;
    for (int i = 1; i <= n; ++i) {
      scanf("%d", &x);
      for (int j = 0; x; ++j, x >>= 1) {
        if (x & 1) ++tt[j];
      }
    }
    solve();
  }
}
