#include <bits/stdc++.h>
using namespace std;
template <class D>
inline void read(D &res) {
  res = 0;
  register D g = 1;
  register char ch = getchar();
  while (!isdigit(ch)) {
    if (ch == '-') g = -1;
    ch = getchar();
  }
  while (isdigit(ch)) {
    res = (res << 3) + (res << 1) + (ch ^ 48);
    ch = getchar();
  }
  res *= g;
}
int n, m, T, a[101000], cnt;
inline int lbt(int x) { return x & (-x); }
int main() {
  read(T);
  while (T--) {
    read(n);
    m = cnt = 0;
    for (register int i = 1; i <= n; i++) read(a[i]), m ^= a[i];
    if (!m) {
      cout << "DRAW" << endl;
      continue;
    }
    while (lbt(m) ^ m) m -= lbt(m);
    for (register int i = 1; i <= n; i++)
      if ((a[i] & m)) cnt++;
    if (cnt == 1) {
      cout << "WIN" << endl;
      continue;
    }
    if (n & 1) {
      if ((cnt % 4) == 1)
        cout << "WIN" << endl;
      else
        cout << "LOSE" << endl;
    } else
      cout << "WIN" << endl;
  }
  return 0;
}
