#include <bits/stdc++.h>
using namespace std;
template <typename T>
istream& operator>>(istream& in, vector<T>& a) {
  for (auto& i : a) in >> i;
  return in;
}
template <typename T>
ostream& operator<<(ostream& out, vector<T>& a) {
  for (auto& i : a) out << i << " ";
  return out;
}
template <typename T, typename U>
void chkmin(T& a, U b) {
  if (a > b) a = b;
}
template <typename T, typename U>
void chkmax(T& a, U b) {
  if (a < b) a = b;
}
void solve() {
  int n;
  cin >> n;
  vector<int> a(n);
  cin >> a;
  for (int i = 30; i >= 0; --i) {
    int zeroes = 0, ones = 0;
    for (int j = (int)0; j < (int)n; j++)
      if ((a[j] >> i) & 1)
        ++ones;
      else
        ++zeroes;
    if (ones % 2 == 0) continue;
    if (ones % 4 == 1)
      cout << "WIN";
    else {
      if (zeroes % 2)
        cout << "WIN";
      else
        cout << "LOSE";
    }
    cout << "\n";
    return;
  }
  cout << "DRAW\n";
}
int main() {
  ios_base::sync_with_stdio(0), cin.tie(0);
  int t;
  cin >> t;
  while (t-- > 0) solve();
  return 0;
}
