#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(NULL);
  long t;
  cin >> t;
  while (t--) {
    long n;
    cin >> n;
    vector<long> a(n);
    for (long i = 0; i < n; i++) cin >> a[i];
    long x = 0;
    for (long i = 0; i < n; i++) x ^= a[i];
    if (x == 0)
      cout << "DRAW\n";
    else {
      long b = 0;
      while (x > 0) {
        b++;
        x /= 2;
      }
      long mask = 1;
      for (long i = 1; i < b; i++) mask = 2 * mask;
      long count = 0;
      for (long i = 0; i < n; i++) {
        if ((mask & (a[i] % (2 * mask))) > 0) count++;
      }
      if (count % 4 == 3 && (n - count) % 2 == 0)
        cout << "LOSE\n";
      else
        cout << "WIN\n";
    }
  }
  return 0;
}
