#include <bits/stdc++.h>
using namespace std;
const int inf = 1000000000;
bool cmp(pair<int, int> a, pair<int, int> b) { return a.second < b.second; }
void solve() {
  int n;
  cin >> n;
  int x = 0;
  vector<int> a(n);
  for (auto &i : a) {
    cin >> i;
    x ^= i;
  }
  if (x == 0) {
    cout << "DRAW\n";
    return;
  }
  for (int k = 30; k >= 0; --k)
    if (x >> k & 1) {
      vector<int> f(2);
      for (auto &i : a) ++f[i >> k & 1];
      if (f[1] % 4 == 3 && f[0] % 2 == 0)
        cout << "LOSE\n";
      else
        cout << "WIN\n";
      break;
    }
}
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  int t = 1;
  cin >> t;
  while (t--) {
    solve();
  }
}
