#include <bits/stdc++.h>
using namespace std;
long long modular(long long a, long long b, long long c) {
  if (b == 0) {
    return 1;
  }
  if (b % 2 == 0) {
    return modular(((a * a) % c), b / 2, c);
  } else {
    return ((a % c) * (modular(((a * a) % c), b / 2, c) % c)) % c;
  }
}
signed main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long t;
  cin >> t;
  while (t--) {
    long long n;
    cin >> n;
    long long a[n];
    string arr[n];
    for (long long i = 0; i < n; i++) {
      cin >> a[i];
      arr[i] = bitset<32>(a[i]).to_string();
    }
    long long turn = 0;
    long long flag = 0;
    for (long long i = 0; i < 32; i++) {
      long long c1 = 0;
      long long c2 = 0;
      for (long long j = 0; j < n; j++) {
        if (arr[j][i] == '1') {
          c1++;
        } else {
          c2++;
        }
      }
      if ((c1 % 4 == 1) || ((c1 % 4 == 3) && (n % 2 == 0))) {
        if (turn == 0) {
          flag = 1;
          break;
        } else {
          flag = 2;
          break;
        }
      }
      if ((c1 % 4 == 3) && (n % 2 != 0)) {
        if (turn == 0) {
          flag = 2;
          break;
        } else {
          flag = 1;
          break;
        }
      }
    }
    if (flag == 0) {
      cout << "DRAW"
           << "\n";
    } else {
      if (flag == 1) {
        cout << "WIN"
             << "\n";
      } else {
        cout << "LOSE"
             << "\n";
      }
    }
  }
  return 0;
}
