#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int tc, ti = 1;
  cin >> tc;
  while (tc--) {
    int n, i, j, cnt, mask = (1 << 30);
    cin >> n;
    vector<int> v(n);
    for (i = 0; i < n; ++i) cin >> v[i];
    sort(v.rbegin(), v.rend());
    int win = -1;
    while (mask) {
      cnt = 0;
      for (i = 0; i < n; ++i) {
        if (v[i] & mask) ++cnt;
      }
      if (cnt & 1) {
        cnt >>= 1;
        if (cnt & 1)
          win = (n & 1 ^ 1);
        else
          win = 1;
        break;
      }
      mask >>= 1;
    }
    if (win == -1) {
      cout << "DRAW\n";
      continue;
    }
    cout << (win ? "WIN" : "LOSE") << "\n";
  }
  return 0;
}
