#include <bits/stdc++.h>
using namespace std;
long long int mod = 1e9 + 7;
long double Pi = 3.14159265359;
auto clk = clock();
mt19937_64 rang(
    chrono::high_resolution_clock::now().time_since_epoch().count());
int rng(int lim) {
  uniform_int_distribution<int> uid(0, lim - 1);
  return uid(rang);
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.precision(17);
  int t;
  t = 1;
  cin >> t;
  for (long long int test = 0; test < (t); test++) {
    long long int n;
    cin >> n;
    vector<long long int> a(n);
    for (long long int i = 0; i < (n); i++) cin >> a[i];
    map<long long int, long long int> b;
    for (long long int i = 0; i < (31); i++) {
      for (long long int j = 0; j < (n); j++) {
        long long int x = 1LL << i;
        if (x & a[j]) {
          b[i]++;
        }
      }
    }
    int ans = 0;
    for (long long int i = (32); i >= (0); i--) {
      if (b[i] % 2 == 0) continue;
      if ((n - b[i]) % 2 == 0 && ((b[i] + 1) / 2) % 2 == 0)
        ans = -1;
      else
        ans = 1;
      break;
    }
    if (ans == -1) cout << "LOSE" << endl;
    if (ans == 1) cout << "WIN" << endl;
    if (ans == 0) cout << "DRAW" << endl;
  }
}
