#include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 10;
int a[N];
int main() {
  int t;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    int x = 0;
    for (int i = 1; i <= n; i++) {
      cin >> a[i];
      x ^= a[i];
    }
    if (!x) {
      cout << "DRAW" << endl;
      continue;
    }
    for (int i = 30; i >= 0; i--) {
      if ((x >> i) & 1) {
        int cnt1 = 0, cnt0 = 0;
        for (int j = 1; j <= n; j++) {
          if ((a[j] >> i) & 1) {
            cnt1++;
          } else {
            cnt0++;
          }
        }
        if (cnt1 % 4 == 3 && cnt0 % 2 == 0) {
          cout << "LOSE" << endl;
        } else {
          cout << "WIN" << endl;
        }
        break;
      }
    }
  }
  return 0;
}
