#include <bits/stdc++.h>
using namespace std;
using namespace std;
const long long mod2 = 998244353;
long long fpow(long long x, long long y, long long p = 1000000007) {
  x = x % p;
  long long sum = 1;
  while (y) {
    if (y & 1) sum = sum * x;
    sum %= p;
    y = y >> 1;
    x = x * x;
    x %= p;
  }
  return sum;
}
long long inv(long long a, long long m = 1000000007) {
  long long c = m;
  long long y = 0, x = 1;
  if (m == 1) return 0;
  while (a > 1) {
    long long q = a / m;
    long long t = m;
    m = a % m, a = t;
    t = y;
    y = x - q * y;
    x = t;
  }
  if (x < 0) x += c;
  return x;
}
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long t, n;
  cin >> t;
  while (t--) {
    cin >> n;
    long long tmp = 0;
    vector<long long> v(n);
    for (int i = 0; i < n; i++) {
      cin >> v[i];
      tmp ^= v[i];
    }
    if (tmp == 0) {
      cout << "DRAW\n";
      continue;
    }
    for (long long j = 40; j >= 0; j--) {
      if ((tmp >> j) & 1) {
        long long cnt0 = 0, cnt1 = 0;
        for (int i = 0; i < n; i++) {
          if ((v[i] >> j) & 1)
            cnt1++;
          else
            cnt0++;
        }
        if (cnt0 % 2 == 0 && cnt1 % 4 == 3) {
          cout << "LOSE\n";
        } else {
          cout << "WIN\n";
        }
        break;
      }
    }
  }
}
