#include <bits/stdc++.h>
using namespace std;
template <class T1>
void deb(T1 e) {
  cout << "-->" << e << "\n";
}
template <class T1, class T2>
void deb(T1 e1, T2 e2) {
  cout << "-->" << e1 << " " << e2 << "\n";
}
template <class T1, class T2, class T3>
void deb(T1 e1, T2 e2, T3 e3) {
  cout << "-->" << e1 << " " << e2 << " " << e3 << "\n";
}
template <class T1, class T2, class T3, class T4>
void deb(T1 e1, T2 e2, T3 e3, T4 e4) {
  cout << "-->" << e1 << " " << e2 << " " << e3 << " " << e4 << "\n";
}
template <class T1, class T2, class T3, class T4, class T5>
void deb(T1 e1, T2 e2, T3 e3, T4 e4, T5 e5) {
  cout << "-->" << e1 << " " << e2 << " " << e3 << " " << e4 << " " << e5
       << "\n";
}
template <class T1, class T2, class T3, class T4, class T5, class T6>
void deb(T1 e1, T2 e2, T3 e3, T4 e4, T5 e5, T6 e6) {
  cout << "-->" << e1 << " " << e2 << " " << e3 << " " << e4 << " " << e5 << " "
       << e6 << "\n";
}
template <class T1>
void js(T1 arr) {
  for (auto x : arr) {
    cout << x << " ";
  }
  cout << "\n";
}
template <class T1, class T2, class T3>
void js(T1 arr, T2 start, T3 end) {
  for (auto it = start; it != end; it++) {
    cout << *it << " ";
  }
  cout << "\n";
}
void Answer() {
  int n;
  cin >> n;
  int ans = 0;
  vector<int> v;
  for (int i = 0; i < n; i++) {
    int a;
    cin >> a;
    v.emplace_back(a);
    ans ^= a;
  }
  if (ans == 0)
    cout << "DRAW"
         << "\n";
  else {
    for (int i = 30; i >= 0; --i) {
      if (ans >> i & 1) {
        vector<int> f(2, 0);
        for (int x : v) {
          f[x >> i & 1]++;
        }
        if (f[1] % 4 == 3 && f[0] % 2 == 0) {
          cout << "LOSE"
               << "\n";
        } else
          cout << "WIN"
               << "\n";
        break;
      }
    }
  }
}
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  int t = 1;
  cin >> t;
  while (t--) {
    Answer();
  }
  return 0;
}
