#include <bits/stdc++.h>
using namespace std;
int main() {
  long long t;
  cin >> t;
  while (t--) {
    long long mem[40];
    memset(mem, 0, sizeof(mem));
    long long a;
    long long n;
    scanf("%I64d", &n);
    for (long long i = 0; i < n; i++) {
      scanf("%I64d", &a);
      for (long long i = 35; i >= 0; i--)
        if ((1ll << i) & a) mem[i]++;
    }
    string ans = "DRAW";
    for (long long i = 35; i >= 0; i--)
      if (mem[i] % 2) {
        long long x = mem[i];
        ans = "WIN";
        if ((x - 1) % 4) {
          long long y = n - x;
          if (y % 2 == 0) ans = "LOSE";
        }
        break;
      }
    cout << ans << endl;
  }
  return 0;
}
