#include <bits/stdc++.h>
using namespace std;
void solve() {
  int n;
  cin >> n;
  vector<int> a(n + 1);
  int d = 0;
  for (int i = 1; i <= n; ++i) {
    cin >> a[i];
    d ^= a[i];
  }
  if (d == 0) {
    cout << "DRAW" << endl;
    return;
  }
  for (int i = 31; i >= 0; --i) {
    if (d >> i & 1) {
      int one = 0, zero = 0;
      for (int j = 1; j <= n; ++j) {
        if (a[j] >> i & 1)
          ++one;
        else
          ++zero;
      }
      if (one % 4 == 3 && zero % 2 == 0) {
        cout << "LOSE" << endl;
      } else {
        cout << "WIN" << endl;
      }
      break;
    }
  }
}
int main() {
  ios::sync_with_stdio(0), cin.tie(0);
  int _ = 1;
  cin >> _;
  for (int i = 1; i <= _; ++i) solve();
}
