#include <bits/stdc++.h>
using namespace std;
void eat() {
  long long n, i, j, a, b[32] = {0}, c = 0;
  cin >> n;
  for (i = 0; i < n; i++) {
    cin >> a;
    j = 0;
    while (a) {
      b[j++] += a & 1;
      a >>= 1;
    }
  }
  for (i = 31; i > -1; i--) {
    if (b[i] & 1) {
      if (b[i] & 2) {
        if (n & 1) {
          cout << "LOSE\n";
          return;
        }
        cout << "WIN\n";
        return;
      }
      cout << "WIN\n";
      return;
    }
  }
  cout << "DRAW\n";
  return;
}
int main() {
  long long t, ti;
  cin >> t;
  for (ti = 0; ti < t; ti++) {
    eat();
  }
  return 0;
}
