#include <bits/stdc++.h>
using namespace std;
void solve() {
  long long n;
  cin >> n;
  long long a[n + 1];
  for (long long i = (1); i <= (n); i++) {
    cin >> a[i];
  }
  for (long long i = (30); i >= (0); i--) {
    long long x = 0, k = (1 << i);
    for (long long j = (1); j <= (n); j++) {
      if ((a[j] & k) != 0) {
        x = x + 1;
      }
    }
    if (x % 2 == 0) {
      continue;
    } else {
      long long y = (n - x);
      if ((x % 4 == 3) && (y % 2 == 0)) {
        cout << "LOSE" << endl;
      } else {
        cout << "WIN" << endl;
      }
      return;
    }
  }
  cout << "DRAW" << endl;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int t = 1;
  cin >> t;
  while (t--) {
    solve();
  }
}
