#include <bits/stdc++.h>
using namespace std;
int ara[100005];
int main() {
  int t;
  scanf("%d", &t);
  while (t--) {
    int n;
    scanf("%d", &n);
    for (int i = 1; i <= n; i++) scanf("%d", ara + i);
    int x = 0;
    for (int i = 1; i <= n; i++) x ^= ara[i];
    if (x == 0) {
      printf("DRAW\n");
      continue;
    }
    int boro = -1;
    for (int i = 30; i >= 0; i--) {
      if (x & (1 << i)) {
        boro = i;
        break;
      }
    }
    int tot = 0;
    for (int i = 1; i <= n; i++) {
      if (ara[i] & (1 << boro)) tot++;
    }
    if (n % 2 == 0 || tot % 4 == 1)
      printf("WIN\n");
    else
      printf("LOSE\n");
  }
  return 0;
}
