#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  ;
  long long t;
  cin >> t;
  while (t--) {
    long long n;
    cin >> n;
    long long arr[n];
    long long x = 0;
    for (long long i = 0; i < n; i++) {
      cin >> arr[i];
      x ^= arr[i];
    }
    if (x == 0) {
      cout << "DRAW\n";
      continue;
    }
    for (long long i = 31; i >= 0; i--) {
      if ((x >> i) & 1) {
        long long c[2] = {0};
        for (long long j : arr) {
          c[(j >> i) & 1]++;
        }
        if (c[1] % 4 == 3 && c[0] % 2 == 0) {
          cout << "LOSE\n";
        } else
          cout << "WIN\n";
        break;
      }
    }
  }
}
