#include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 7;
int a[N];
int main() {
  int i, j, k;
  int n, m, t;
  cin >> t;
  while (t--) {
    cin >> n;
    for (i = 0; i < n; i++) scanf("%d", &a[i]);
    int flag = 0;
    for (i = 30; i >= 0; i--) {
      int num = 0;
      for (j = 0; j < n; j++) {
        if (a[j] & (1 << i)) num++;
      }
      if (num % 2 == 1) {
        if (num % 4 == 3) {
          if (n % 2 == 1)
            flag = -1;
          else
            flag = 1;
        } else
          flag = 1;
        break;
      }
    }
    if (flag == 0) printf("DRAW\n");
    if (flag == 1) printf("WIN\n");
    if (flag == -1) printf("LOSE\n");
  }
}
