#include <bits/stdc++.h>
using namespace std;
void mainSolve() {
  long long int n;
  cin >> n;
  vector<long long int> v(n);
  for (long long int i = 0; i < n; i++) cin >> v[i];
  ;
  vector<bool> vis(n, false);
  map<long long int, long long int> m, zero;
  for (long long int i = 31ll; i >= 0; i--) {
    for (int j = 0; j < n; j++) {
      if ((v[j] & (1 << i)) != 0)
        ++m[i];
      else
        ++zero[i];
    }
  }
  long long int add = 0;
  for (int i = 31; i >= 0; i--) {
    if (m[i] % 2 == 0) continue;
    long long int div = m[i] / 2;
    long long int left = zero[i];
    if (div % 2 == 0 || (left % 2 == 1)) {
      cout << "WIN" << '\n';
      return;
    }
    cout << "LOSE" << '\n';
    return;
  }
  cout << "DRAW" << '\n';
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  long long int t;
  cin >> t;
  while (t--) {
    mainSolve();
  }
  return 0;
}
