#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int t;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    long long A[n];
    for (int i = 0; i < n; i++) cin >> A[i];
    long long draw = 0;
    for (int i = 0; i < n; i++) draw = draw ^ A[i];
    if (draw == 0) {
      cout << "DRAW\n";
      continue;
    }
    for (int j = 33; j >= 0; j--) {
      int count = 0;
      for (int i = 0; i < n; i++)
        if (A[i] & (1LL << j)) count++;
      if (count % 2 == 1) {
        if (n % 2 == 0) {
          if (((count - 1) / 2) % 2 == 1)
            cout << "WIN\n";
          else
            cout << "WIN\n";
        } else {
          if (((count - 1) / 2) % 2 == 0)
            cout << "WIN\n";
          else
            cout << "LOSE\n";
        }
        break;
      }
    }
  }
}
