#include <bits/stdc++.h>
using namespace std;
const int maxn = 1e5 + 10;
int a[maxn], two[32], t, n;
int main() {
  cin >> t;
  while (t--) {
    memset(two, 0, sizeof(two));
    cin >> n;
    for (int i = 1; i <= n; i++) {
      cin >> a[i];
      for (int j = 0; j <= 30; j++)
        if ((1 << j) & a[i]) two[j]++;
    }
    int num = -1;
    for (int i = 0; i <= 30; i++)
      if (two[i] % 2 == 1) num = i;
    if (num == -1)
      cout << "DRAW\n";
    else {
      if ((two[num] - 1) / 2 % 2 == 0)
        cout << "WIN\n";
      else if ((two[num] - 1) / 2 % 2 == 1 && n % 2 == 1)
        cout << "LOSE\n";
      else
        cout << "WIN\n";
    }
  }
}
