#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
const int maxn = 1e6 + 2;
const int base = 31;
const int mod = 1e9 + 7;
ll t;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(nullptr);
  cout.tie(nullptr);
  cin >> t;
  while (t--) {
    ll n, x = 0;
    cin >> n;
    vector<ll> a(n);
    for (ll i = 0; i < n; i++) {
      cin >> a[i];
      x ^= a[i];
    }
    if (x == 0)
      cout << "DRAW\n";
    else {
      ll bit = 30;
      while (!(x & (1 << bit))) {
        --bit;
      }
      ll k0 = 0, k1 = 0;
      for (auto k : a) {
        if (k & (1 << bit)) {
          k1++;
        } else
          k0++;
      }
      assert(k1 % 2 == 1);
      if (k0 % 2 == 0 && k1 % 4 == 3) {
        cout << "LOSE" << '\n';
      } else
        cout << "WIN" << '\n';
    }
  }
}
