#include <bits/stdc++.h>
using namespace std;
int d[32];
int e[32];
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(NULL);
  int t;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    for (int i = 0; i < 32; i++) {
      d[i] = 0;
      e[i] = 0;
    }
    for (int i = 0; i < n; i++) {
      int x;
      cin >> x;
      for (int j = 0; j <= 30; j++) {
        if (x & (1 << j)) {
          d[j] += 1;
        } else
          e[j] += 1;
      }
    }
    int f = 0;
    int idx = -1;
    for (int j = 30; j >= 0; j--) {
      if (d[j] & 1) {
        if (d[j] % 4 == 3 && e[j] % 2 == 0) {
          f = 1;
          break;
        } else {
          f = 2;
          break;
        }
      }
    }
    if (f == 1) {
      cout << "LOSE" << '\n';
    } else if (f == 2) {
      cout << "WIN" << '\n';
    } else {
      cout << "DRAW" << '\n';
    }
  }
}
