#include <bits/stdc++.h>
using namespace std;
bool chmin(int& a, int b) { return b < a ? a = b, true : false; }
bool chmax(int& a, int b) { return b > a ? a = b, true : false; }
bool chmin(long long& a, long long b) { return b < a ? a = b, true : false; }
bool chmax(long long& a, long long b) { return b > a ? a = b, true : false; }
const int inf = 1e09 + 5e3;
const long long linf = 2e18 + 5e3;
const int mod = 1e9 + 7;
const int mxn = 1e6 + 30;
void solve() {
  int n, temp;
  cin >> n;
  vector<int> a(32);
  for (int i = 0; i < n; i++) {
    cin >> temp;
    for (int j = 0; j < 32; j++) {
      a[j] += (bool)(temp & (1ll << j));
    }
  }
  for (int i = 31; i >= 0; i--) {
    if (a[i] & 1) {
      int rev = n - a[i];
      rev &= 1;
      int cnt = a[i] % 4;
      cout << (cnt == 1 || rev ? "WIN" : "LOSE") << '\n';
      return;
    }
  }
  cout << "DRAW" << '\n';
}
int main() {
  ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0);
  int t;
  cin >> t;
  while (t--) {
    solve();
  }
}
