#include <bits/stdc++.h>
using namespace std;
long long int mod = 998244353;
bool comp(pair<pair<int, int>, int> a, pair<pair<int, int>, int> b) {
  return (a.second > b.second);
}
int main() {
  long long int t;
  cin >> t;
  while (t--) {
    long long int n;
    cin >> n;
    vector<long long> a(n);
    vector<long long> one(31, 0);
    vector<long long> zero(31, 0);
    for (long long int i = 0; i < n; i++) {
      cin >> a[i];
      for (long long int j = 0; j < 31; j++) {
        if ((a[i] >> j) & 1) {
          one[j]++;
        } else {
          zero[j]++;
        }
      }
    }
    int result = 1;
    for (long long int i = 30; i >= 0; i--) {
      if (one[i] % 2) {
        long long int x = (one[i] + 1) / 2;
        if (x % 2) {
          result = 0;
          break;
        } else if (zero[i] % 2) {
          result = 0;
          break;
        } else {
          result = 2;
          break;
        }
      }
    }
    if (result == 0) {
      cout << "WIN" << endl;
    } else if (result == 1) {
      cout << "DRAW" << endl;
    } else {
      cout << "LOSE" << endl;
    }
  }
}
