#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, tes, flag, got, rem;
  cin >> tes;
  while (tes--) {
    flag = 0;
    cin >> n;
    vector<int> dp(n);
    vector<int> bits(31, 0);
    for (int i = 0; i < n; i++) cin >> dp[i];
    for (int j = 0; j < n; j++) {
      for (int i = 30; i >= 0; i--) {
        if (((1 << i) & dp[j]) > 0) bits[i]++;
      }
    }
    for (int i = 30; i >= 0; i--) {
      if (bits[i] % 2 != 0) {
        rem = n - bits[i];
        got = bits[i] / 2;
        if (got % 2 == 0)
          flag = 1;
        else {
          if (rem % 2 == 0)
            flag = -1;
          else
            flag = 1;
        }
        break;
      }
    }
    if (flag == 1)
      cout << "WIN";
    else if (flag == -1)
      cout << "LOSE";
    else
      cout << "DRAW";
    cout << endl;
  }
}
