#include <bits/stdc++.h>
using namespace std;
void print(vector<long long int> v) {
  for (int i = 0; i < (v.size()); i++) cout << v[i] << " ";
  cout << endl;
}
long long int pm(long long int x, long long int y) {
  long long int res = 1;
  while (y > 0) {
    if (y & 1) res = (res * x) % 1000000007;
    x = (x * x) % 1000000007;
    y /= 2;
  }
  return res;
}
void solve() {
  int n;
  cin >> n;
  vector<long long int> A(n);
  long long int x1 = 0;
  for (int i = 0; i < (n); i++) {
    cin >> A[i];
    x1 ^= A[i];
  }
  long long int bit = 0;
  for (long long int i = 31; i >= 0; i--) {
    if ((1 << i) & x1) {
      bit = i;
      break;
    }
  }
  long long int c = 0;
  for (int i = 0; i < (n); i++) {
    if (A[i] & (1 << bit)) c++;
  }
  if (x1 == 0) {
    cout << "DRAW\n";
    return;
  }
  if (((c / 2) % 2 == 0) || n % 2 == 0)
    cout << "WIN\n";
  else
    cout << "LOSE\n";
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int t;
  cin >> t;
  while (t--) solve();
  return 0;
}
