#include <bits/stdc++.h>
using namespace std;
using ll = long long;
void solve() {
  int n;
  cin >> n;
  vector<int> a(n), x(30);
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    for (int j = 0; j < 30; j++) {
      x[j] += (a[i] & (1 << j)) != 0;
    }
  }
  for (int i = 30; i-- > 0;) {
    if (x[i] % 2) {
      if ((x[i] % 4 == 1) || (n % 2 == 0)) {
        cout << "WIN" << endl;
      } else {
        cout << "LOSE" << endl;
      }
      return;
    }
  }
  cout << "DRAW" << endl;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(nullptr);
  cout.tie(nullptr);
  int t = 1;
  cin >> t;
  while (t--) {
    solve();
  }
  return 0;
}
