#include <bits/stdc++.h>
using namespace std;
long long power(long long base, long long exp) {
  long long res = 1;
  while (exp > 0) {
    if (exp % 2 == 1) res = (res * base);
    base = (base * base);
    exp /= 2;
  }
  return res;
}
void solve() {
  long long n;
  cin >> n;
  long long a[n];
  for (long long i = 0; i < n; i++) cin >> a[i];
  for (long long bit = 30; bit >= 0; bit--) {
    long long cnt1 = 0, cnt0 = 0;
    for (long long i = 0; i < n; i++) {
      if (a[i] & (1 << bit))
        cnt1++;
      else
        cnt0++;
    }
    if (cnt1 % 2 == 0) continue;
    if ((cnt1 - 3) % 4 == 0 && cnt0 % 2 == 0)
      cout << "LOSE" << endl;
    else
      cout << "WIN" << endl;
    return;
  }
  cout << "DRAW" << endl;
}
signed main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  ;
  long long t;
  cin >> t;
  while (t--) solve();
  return 0;
}
