#include <bits/stdc++.h>
using namespace std;
const int MAX = 1 << 17;
int a[MAX];
bool used[MAX];
int main() {
  ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0);
  int t;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    int x = 0;
    for (int i = (0); i < (n); ++i) {
      cin >> a[i];
      x ^= a[i];
    }
    if (x == 0) {
      cout << "DRAW\n";
      continue;
    }
    int lg = 0;
    while (x > 1) {
      x >>= 1;
      lg++;
    }
    int c1 = 0;
    for (int i = (0); i < (n); ++i) c1 += (a[i] >> lg) & 1;
    cerr << c1 << " " << n - c1 << endl;
    cout << (((c1 / 2) & 1) == 0 || ((n - c1) & 1) ? "WIN\n" : "LOSE\n");
  }
  return 0;
}
