#include <bits/stdc++.h>
using namespace std;
const int maxn = 100010;
int T, n, a[maxn];
int main() {
  scanf("%d", &T);
  while (T--) {
    scanf("%d", &n);
    int s = 0;
    for (int i = 1; i <= n; i++) {
      scanf("%d", &a[i]), s ^= a[i];
    }
    if (!s) {
      printf("DRAW\n");
      continue;
    }
    for (int i = 30; ~i; i--) {
      int num = 0;
      for (int j = 1; j <= n; j++) {
        if (a[j] >> i & 1) num++;
      }
      if (!(num & 1)) continue;
      if ((n - num) & 1)
        printf("%s\n", num % 4 == 0 ? "LOSE" : "WIN");
      else
        printf("%s\n", num % 4 == 3 ? "LOSE" : "WIN");
      break;
    }
  }
  return 0;
}
