#include <bits/stdc++.h>
int tn;
int n, a[100100], x, one, zero;
int main(void) {
  scanf("%d", &tn);
  while (tn--) {
    scanf("%d", &n);
    x = 0;
    for (int i = 0; i < n; i++) scanf("%d", a + i), x ^= a[i];
    if (!x) {
      printf("DRAW\n");
      continue;
    } else {
      one = 0;
      zero = 0;
      for (int t = 1 << 29; t; t /= 2) {
        if (x & t) {
          for (int i = 0; i < n; i++) {
            if (a[i] & t)
              one++;
            else
              zero++;
          }
          break;
        }
      }
      if (zero % 2 == 0) {
        if (one % 4 == 1)
          printf("WIN\n");
        else
          printf("LOSE\n");
      } else {
        if (one % 4 == 3)
          printf("WIN\n");
        else
          printf("WIN\n");
      }
    }
  }
}
