#include <bits/stdc++.h>
void _print(int *a, int n) {
  for (int i = 0; i < n; ++i) printf("%d%c", a[i], " \n"[i == n - 1]);
}
using namespace std;
const int MAXN = 1e5 + 10;
int a[MAXN], cnt[2];
void solve() {
  int n;
  scanf("%d", &n);
  for (int i = 0; i < n; ++i) scanf("%d", &a[i]);
  for (int k = (30) - 1; k >= 0; --k) {
    cnt[0] = cnt[1] = 0;
    for (int i = 0; i < n; ++i) cnt[a[i] >> k & 1]++;
    if (cnt[1] % 2 == 1) {
      if (cnt[1] % 4 == 1)
        puts("WIN");
      else if (cnt[0] % 2 == 1)
        puts("WIN");
      else
        puts("LOSE");
      return;
    }
  }
  puts("DRAW");
}
signed main() {
  int t;
  scanf("%d", &t);
  while (t--) solve();
}
