#include <bits/stdc++.h>
using namespace std;
void solve() {
  int i, j;
  int n;
  cin >> n;
  long long int a[n], mx, mn, val, count = 0, rem;
  for (i = 0; i < n; i++) {
    cin >> a[i];
  }
  mx = *max_element(a, a + n);
  mn = *min_element(a, a + n);
  val = 1;
  while (val <= mx) {
    val *= 2;
  }
  val /= 2;
  while (val) {
    count = 0;
    for (i = 0; i < n; i++) {
      if ((a[i] & val) == val) {
        count++;
      }
    }
    rem = n - count;
    if (count % 4 == 3 && rem % 2 == 0) {
      cout << "LOSE\n";
      return;
    }
    if (count % 2 == 1) {
      cout << "WIN\n";
      return;
    }
    val /= 2;
  }
  cout << "DRAW\n";
}
int main() {
  ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0);
  int t = 1;
  cin >> t;
  while (t--) {
    solve();
  }
}
