#include <bits/stdc++.h>
using namespace std;
const int maxi = 1e6 + 10;
int a[maxi];
string s;
int n;
vector<int> v[maxi];
void solve() {
  cin >> n;
  int xs = 0;
  for (int i = 1; i <= n; i++) {
    scanf("%d", &a[i]);
    xs ^= a[i];
  }
  if (xs == 0) {
    printf("DRAW\n");
    return;
  }
  int id = 0;
  for (int i = 0; i <= 30; i++)
    if (xs & (1 << i)) id = i;
  int cnt = 0;
  for (int i = 1; i <= n; i++)
    if (a[i] & (1 << id)) cnt++;
  if (cnt % 4 == 1) {
    printf("WIN\n");
  } else {
    if (n & 1)
      printf("LOSE\n");
    else
      printf("WIN\n");
  }
}
int main() {
  int t;
  cin >> t;
  while (t--) solve();
  return 0;
}
