#include <bits/stdc++.h>
using namespace std;
long long a[100009];
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long t, n, x, i, j;
  cin >> t;
  while (t--) {
    cin >> n;
    i = 0;
    while (i < n) cin >> a[i++];
    j = 31;
    while (j > -1) {
      i = 0;
      x = 0;
      while (i < n) {
        if ((1ll << j) & a[i]) x++;
        i++;
      }
      if (x % 2) {
        if ((x + 3) % 4) {
          if ((n - x) % 2)
            cout << "WIN"
                 << "\n";
          else
            cout << "LOSE"
                 << "\n";
        } else
          cout << "WIN"
               << "\n";
        break;
      }
      j--;
    }
    if (j == -1)
      cout << "DRAW"
           << "\n";
  }
}
