#include <bits/stdc++.h>
using namespace std;
bool Active(long long val, long long pos) {
  if (((val >> pos) & 1)) return 1;
  return 0;
}
signed main() {
  ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);
  ;
  long long t;
  cin >> t;
  while (t--) {
    long long n;
    cin >> n;
    bool f = 0;
    vector<long long> a(n);
    for (long long i = 0; i < n; i++) cin >> a[i];
    for (long long bit = 31; bit >= 0; bit--) {
      long long cnt = 0;
      for (long long i = 0; i < n; i++) cnt += Active(a[i], bit);
      if (cnt & 1) {
        if (cnt % 4 == 1 || ((n - cnt) & 1))
          cout << "WIN\n";
        else
          cout << "LOSE\n";
        f = 1;
        break;
      }
    }
    if (!f) cout << "DRAW\n";
  }
}
