#include <bits/stdc++.h>
using namespace std;
const int maxn = 2e5 + 10;
const int base = 31337;
const int mod = 1e9 + 7;
const int inf = 0x3f3f3f3f;
const int logo = 30;
const int off = 1 << logo;
const int treesiz = off << 1;
int t;
int n;
int a[maxn];
int main() {
  scanf("%d", &t);
  while (t--) {
    scanf("%d", &n);
    for (int i = 0; i < n; i++) {
      scanf("%d", a + i);
    }
    for (int i = logo; i >= 0; i--) {
      int cnt = 0;
      for (int j = 0; j < n; j++) {
        cnt += !!(a[j] & (1 << i));
      }
      if (cnt % 4 == 3 && (n - cnt) % 2 == 0) {
        printf("LOSE\n");
        break;
      } else if (cnt % 2 == 1) {
        printf("WIN\n");
        break;
      }
      if (i == 0) printf("DRAW\n");
    }
  }
  return 0;
}
