#include <bits/stdc++.h>
using namespace std;
void solve() {
  int n;
  cin >> n;
  vector<int> a(n);
  for (int i = 0; i < n; i++) {
    cin >> a[i];
  }
  for (int b = 30; b >= 0; b--) {
    int cnt = 0;
    for (int i = 0; i < n; i++) {
      cnt += (a[i] & (1 << b)) > 0;
    }
    if (cnt % 2 == 0) continue;
    if (cnt % 4 == 1) {
      cout << "WIN" << '\n';
      return;
    }
    int z = n - cnt;
    if (z % 2 == 0) {
      cout << "LOSE" << '\n';
      return;
    } else {
      cout << "WIN" << '\n';
      return;
    }
  }
  cout << "DRAW" << '\n';
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  ;
  int t = 1;
  cin >> t;
  for (int i = 1; i <= t; i++) {
    solve();
  }
  return 0;
}
