#include <bits/stdc++.h>
using namespace std;
using li = long long;
using ll = long long;
using ld = long double;
void solve(bool);
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(nullptr);
  cout << fixed << setprecision(20);
  srand(time(0));
  int T;
  cin >> T;
  for (int i = 0; i < T; ++i) {
    solve(true);
  }
  return 0;
}
int n;
int a[(int)1e5 + 55];
void solve(bool __attribute__((unused)) read) {
  cin >> n;
  int x = 0;
  for (int i = 0; i < n; ++i) {
    cin >> a[i];
    x ^= a[i];
  }
  if (x == 0) {
    cout << "DRAW\n";
    return;
  }
  int bit = 30;
  while ((x & (1 << bit)) == 0) {
    --bit;
  }
  int c0 = 0, c1 = 0;
  for (int i = 0; i < n; ++i) {
    if (a[i] & (1 << bit))
      ++c1;
    else
      ++c0;
  }
  if ((c1 / 2) & 1) {
    if (c0 & 1) {
      cout << "WIN\n";
    } else {
      cout << "LOSE\n";
    }
  } else {
    cout << "WIN\n";
  }
}
