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