#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(NULL);
  int t;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    vector<long long> vals(n);
    for (int i = 0; i < n; i++) cin >> vals[i];
    bool bad = true;
    for (int i = 30; i >= 0; i--) {
      int curr = 0;
      for (int j = 0; j < n; j++)
        if ((((long long)1 << i) & vals[j]) != 0) curr++;
      if (curr % 2 != 0) {
        if (curr % 4 == 3 && (n - curr) % 2 == 0)
          cout << "LOSE\n";
        else
          cout << "WIN\n";
        bad = false;
        break;
      }
    }
    if (bad) cout << "DRAW\n";
  }
}
