#include <bits/stdc++.h>
using namespace std;
int v[100005], cnt[5];
int main() {
  int t, n, a, all, p;
  cin >> t;
  for (int q = 0; q < t; q++) {
    cin >> n;
    for (int i = 0; i < n; i++) {
      cin >> v[i];
      if (i == 0)
        all = v[i];
      else
        all = (v[i] ^ all);
    }
    if (all == 0)
      cout << "DRAW" << '\n';
    else {
      cnt[0] = 0;
      cnt[1] = 0;
      p = 1;
      a = 0;
      while (1) {
        if ((all & p) != 0) all = (all ^ p);
        if (all == 0) break;
        p *= 2;
        a++;
      }
      for (int i = 0; i < n; i++) cnt[(v[i] >> a) & 1]++;
      cnt[0] %= 2;
      cnt[1] %= 4;
      if (cnt[1] == 3 && cnt[0] == 0)
        cout << "LOSE" << '\n';
      else
        cout << "WIN" << '\n';
    }
  }
  return 0;
}
