#include <bits/stdc++.h>
using namespace std;
const long long N = 2 * (1e5 + 10);
bool col2(pair<long long, long long> p1, pair<long long, long long> p2) {
  return p1.second > p2.second;
}
struct comp {
  bool operator()(long long const& x, long long const& y) { return x > y; }
};
struct compare {
  bool operator()(const pair<int, int>& value, const int& key) {
    return (value.first < key);
  }
  bool operator()(const int& key, const pair<int, int>& value) {
    return (key < value.first);
  }
};
int main() {
  long long t;
  cin >> t;
  while (t--) {
    long long n;
    cin >> n;
    vector<long long> v(n);
    for (long long i = 0; i < n; i++) cin >> v[i];
    long long flag = -1;
    for (long long j = 61; j >= 1; j--) {
      long long a, b;
      a = b = 0;
      for (long long i = 0; i < n; i++) {
        if ((v[i] >> (j - 1)) & 1)
          a++;
        else
          b++;
      }
      if (a % 2 == 0) {
      } else {
        if (((a + 1) / 2) % 2 == 1)
          flag = 1;
        else {
          if ((a + b) % 2 == 0)
            flag = 1;
          else
            flag = 2;
        }
        break;
      }
    }
    if (flag == 1)
      cout << "WIN\n";
    else if (flag == -1)
      cout << "DRAW\n";
    else
      cout << "LOSE\n";
  }
}
