#include <bits/stdc++.h>
using namespace std;
const int maxn = 5e5 + 5;
template <class T>
void print(T& x) {
  cout << x;
}
template <class T, class U>
void print(pair<T, U>& p) {
  cout << "(";
  print(p.first);
  cout << ", ";
  print(p.second);
  cout << ")";
}
template <class T>
void print(vector<T>& v) {
  cout << "{";
  if (((int)(v).size())) print(v[0]);
  for (int i = 1; i < ((int)(v).size()); i++) cout << ", ", print(v[i]);
  cout << "}\n";
}
int n, m, T;
bool hasi(int x, int i) { return (x & (1 << i)) > 0; }
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cin >> T;
  while (T--) {
    cin >> n;
    vector<int> cnt(31 + 1);
    vector<int> A(n + 1);
    for (int i = 1; i <= n; ++i) {
      cin >> A[i];
      for (int j = 31; j >= 0; --j) {
        if (hasi(A[i], j)) cnt[j]++;
      }
    }
    int ok = 0;
    for (int i = 31; i >= 0; --i) {
      if (cnt[i] % 2 == 0) continue;
      if (cnt[i] % 4 == 3 && (n - cnt[i]) % 2 == 0)
        cout << "LOSE" << endl;
      else
        cout << "WIN" << endl;
      ok = 1;
      break;
    }
    if (!ok) cout << "DRAW" << endl;
  }
  return 0;
}
