#include <bits/stdc++.h>
using namespace std;
const long long LINF = (long long)1e18 + 47;
const int INF = 1e9 + 47;
const int MOD = 1e9 + 7;
const int modulo = 1e8;
const int nax = 3 * (int)1e5 + 10;
const double EPS = 1e-9;
const double PI = acos(-1.0);
int main() {
  int t;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    vector<int> a(n);
    for (int i = (0); i < (n); i++) {
      cin >> a[i];
    }
    bool cont = false;
    for (int bit = (30) - 1; bit >= (0); bit--) {
      int cnt_one = 0;
      int cnt_zero = 0;
      for (int i = (0); i < (n); i++) {
        if (a[i] & (1 << bit)) cnt_one++;
      }
      if (cnt_one % 2 != 0) {
        cnt_zero = n - cnt_one;
        if (cnt_one % 4 == 3 && cnt_zero % 2 == 0)
          cout << "LOSE\n";
        else
          cout << "WIN\n";
        cont = true;
        break;
      }
    }
    if (!cont) cout << "DRAW\n";
  }
}
