#include <bits/stdc++.h>
using namespace std;
int n, a[100005];
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int t;
  cin >> t;
  while (t--) {
    cin >> n;
    int x = 0;
    for (int i = 0; i < n; i++) {
      cin >> a[i];
      x ^= a[i];
    }
    if (!x) {
      cout << "DRAW" << endl;
      continue;
    }
    for (int k = 30; k >= 0; k--) {
      if (x >> k & 1) {
        int q = 0;
        for (int i = 0; i < n; i++)
          if (a[i] >> k & 1) q++;
        if (q % 4 == 3 && (n - q) % 2 == 0)
          cout << "LOSE" << endl;
        else
          cout << "WIN" << endl;
        break;
      }
    }
  }
  return 0;
}
