#include <bits/stdc++.h>
using namespace std;
const long long INF = (1e9 + 7);
void solve() {
  int n;
  vector<int> arr(32, 0);
  cin >> n;
  for (int i = 0; i < n; i++) {
    int tmp;
    cin >> tmp;
    for (int j = 0; j < 31; j++) {
      if (tmp & (1LL << j)) {
        arr[j]++;
      }
    }
  }
  for (int i = 30; i > -1; i--) {
    if (arr[i] & 1) {
      if (arr[i] % 4 == 3 && (n - arr[i]) % 2 == 0) {
        cout << "LOSE" << '\n';
        return;
      } else {
        cout << "WIN" << '\n';
        return;
      }
    }
  }
  cout << "DRAW" << '\n';
  return;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int testcase = 1;
  cin >> testcase;
  for (int i = 0; i < testcase; i++) {
    solve();
  }
  return 0;
}
