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