#include <bits/stdc++.h>
using namespace std;
int main() {
  int test = 1;
  cin >> test;
  while (test--) {
    int n;
    cin >> n;
    long long int a[n];
    int check[31];
    memset(check, 0, sizeof(check));
    for (int i = 0; i < n; ++i) {
      cin >> a[i];
      for (int j = 30; j >= 0; --j) {
        if ((1ll * 1 << j) & a[i]) check[j]++;
      }
    }
    int winner = 0;
    for (int i = 30; i >= 0; --i) {
      if (check[i] % 2 != 0) {
        if (check[i] % 4 == 3 && (n - check[i]) % 2 == 0)
          winner = 2;
        else
          winner = 1;
        break;
      } else
        continue;
    }
    if (winner == 0)
      cout << "DRAW";
    else if (winner == 1)
      cout << "WIN";
    else
      cout << "LOSE";
    cout << endl;
  }
  return 0;
}
