#include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 2;
int n, m;
void solve() {
  cin >> n;
  vector<int> a(n);
  int ok = 0;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    ok ^= a[i];
  }
  if (ok == 0) {
    cout << "DRAW";
    return;
  }
  for (int i = 30; i >= 0; i--) {
    int cnt1 = 0, cnt0 = 0;
    for (int j = 0; j < n; j++) {
      if (a[j] & (1 << i)) {
        cnt1++;
      } else {
        cnt0++;
      }
    }
    if (cnt1 % 2 == 1) {
      if (cnt1 % 4 == 3 && cnt0 % 2 == 0) {
        cout << "LOSE";
      } else {
        cout << "WIN";
      }
      return;
    }
  }
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int t, i = 0;
  cin >> t;
  while (i++ < t) {
    solve();
    cout << "\n";
  }
  return 0;
}
