#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  long long t;
  cin >> t;
  while (t--) {
    long long n;
    cin >> n;
    vector<long long> a(n, 0);
    vector<long long> pos(32, 0);
    for (long long i = 0; i < n; i++) {
      cin >> a[i];
      long long ind = 0;
      long long num = a[i];
      while (num != 0) {
        if (num % 2 == 1) pos[ind] += 1;
        ind++;
        num /= 2;
      }
    }
    long long f = 0;
    for (long long i = pos.size() - 1; i >= 0; i--) {
      if (pos[i] % 2 == 1) {
        f = 1;
        if (pos[i] == 1)
          cout << "WIN\n";
        else {
          if ((pos[i] / 2) % 2 == 0)
            cout << "WIN\n";
          else {
            if (n % 2 == 0)
              cout << "WIN\n";
            else
              cout << "LOSE\n";
          }
        }
        break;
      }
    }
    if (f == 0) cout << "DRAW\n";
  }
}
