#include <bits/stdc++.h>
using namespace std;
int a[100010];
int main() {
  int t;
  cin >> t;
  while (t) {
    t--;
    int i, n, s = 0;
    cin >> n;
    for (i = 0; i < n; i++) {
      cin >> a[i];
      s ^= a[i];
    }
    if (s == 0) {
      cout << "DRAW" << endl;
      continue;
    }
    int j = -1;
    for (i = 30; i >= 0; i--) {
      if (s >> i & j) {
        j = i;
        break;
      }
    }
    int cnt0 = 0, cnt1 = 0;
    for (i = 0; i < n; i++) {
      a[i] = (a[i] >> j) & 1;
      if (a[i])
        cnt1++;
      else
        cnt0++;
    }
    if (cnt1 % 4 == 3 && cnt0 % 2 == 0)
      cout << "LOSE" << endl;
    else
      cout << "WIN" << endl;
  }
}
