#include <bits/stdc++.h>
using namespace std;
using cd = complex<double>;
const int N = 3e3 + 5;
const long long INF = 1e18;
const long long mod = 1e9 + 7;
const long long mod2 = 1e9 + 9;
const double Pi = acos(-1);
void Fastio() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
}
int t, n;
int a[100005];
signed main() {
  Fastio();
  cin >> t;
  while (t--) {
    cin >> n;
    for (int i = 1; i <= n; i++) {
      cin >> a[i];
    }
    int win = 0;
    for (int i = 30; i >= 0; i--) {
      int cnt = 0;
      for (int j = 1; j <= n; j++) {
        if (a[j] & (1 << i)) {
          cnt++;
        }
      }
      if (cnt % 2 == 0) {
        continue;
      }
      if (n % 2 == 1) {
        int temp = cnt / 2;
        if ((temp + 1) % 2 == 1) {
          win = 1;
        } else {
          win = -1;
        }
      } else {
        win = 1;
      }
      break;
    }
    if (win == 1) {
      cout << "WIN\n";
    } else if (win == 0) {
      cout << "DRAW\n";
    } else {
      cout << "LOSE\n";
    }
  }
}
