#include <bits/stdc++.h>
using namespace std;
void solve(int test) {
  int n;
  cin >> n;
  vector<int> v(n);
  int i, j;
  for (i = (0); i < (n); ++i) cin >> v[i];
  for (i = (30) - 1; i >= (0); --i) {
    int cnt = 0;
    for (j = (0); j < (n); ++j)
      if (v[j] & (1 << i)) ++cnt;
    if (cnt % 2 != 0) {
      cnt = (cnt + 1) / 2;
      cout << (n % 2 == 0 || cnt % 2 != 0 ? "WIN" : "LOSE") << endl;
      return;
    }
  }
  cout << "DRAW" << endl;
}
int main() {
  int T = 1, t;
  cin >> T;
  for (t = (0); t < (T); ++t) solve(t);
  return 0;
}
