#include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 5, M = 5e5 + 9, MOD = 1e9 + 7;
int freq[31];
void runtestcase() {
  int n, x;
  cin >> n;
  memset(freq, 0, sizeof freq);
  for (int i = 0; i < n; ++i) {
    cin >> x;
    for (int j = 0; j < 30; ++j) {
      if (x & (1 << j)) ++freq[j];
    }
  }
  bool dn = 0;
  for (int i = 30; i >= 0; --i) {
    int cnt = freq[i], cnt2 = n - freq[i];
    if (cnt % 2 == 0) continue;
    if (cnt % 4 == 3 && cnt2 % 2 == 0)
      cout << "LOSE";
    else
      cout << "WIN";
    dn = 1;
    break;
  }
  if (!dn) cout << "DRAW";
}
int main() {
  cout << fixed << setprecision(12), ios::sync_with_stdio(false),
      cin.tie(nullptr), cout.tie(nullptr);
  int t = 1, tt = 1;
  cin >> t;
  while (t) {
    runtestcase();
    cout << '\n';
    --t, ++tt;
  }
}
