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