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