#include <bits/stdc++.h>
using namespace std;
void err() { cout << "\n"; }
template <class T, class... Ts>
void err(const T& arg, const Ts&... args) {
  cout << arg << ' ';
  err(args...);
}
const int maxn = 1e5 + 7;
int n, d[maxn][35], t;
void solve() {
  cin >> n;
  for (int i = 1; i <= n; ++i) {
    cin >> t;
    for (int j = 30; j >= 0; --j) {
      d[i][j] = (t >> j) & 1;
    }
  }
  for (int q = 30; q >= 0; --q) {
    int num = 0;
    for (int i = 1; i <= n; ++i) {
      if (d[i][q]) num++;
    }
    if (num & 1) {
      if (num % 4 == 1 || ((n - num) & 1)) {
        cout << "WIN"
             << "\n";
        return;
      }
      cout << "LOSE"
           << "\n";
      return;
    }
  }
  cout << "DRAW"
       << "\n";
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(nullptr);
  cout.tie(nullptr);
  int _T = 1;
  cin >> _T;
  while (_T--) solve();
  return 0;
}
