#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base ::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  ;
  long t;
  cin >> t;
  while (t--) {
    long n;
    cin >> n;
    vector<long> cnt(30, 0);
    for (long i = 0, cur; i < n; i++) {
      cin >> cur;
      for (long j = 0; j < 30; j++) {
        if ((1 << j) & cur) cnt[j]++;
      }
    }
    long ans = 0;
    for (long j = 29; !ans && ~j; j--) {
      if (cnt[j] % 2) {
        if (cnt[j] % 4 == 3 && n % 2)
          ans = -1;
        else
          ans = 1;
      }
    }
    if (ans == 1)
      cout << "WIN\n";
    else if (!ans)
      cout << "DRAW\n";
    else
      cout << "LOSE\n";
  }
  return 0;
}
