#include <bits/stdc++.h>
using namespace std;
const int maxn = 2 * 1e5 + 50;
int a[maxn];
long long b[100];
int o[maxn];
vector<int> vec;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  b[0] = 1;
  int y = 1;
  while (b[y - 1] <= 1e9) {
    b[y] = b[y - 1] * 2;
    y++;
  }
  y--;
  int t;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    for (int i = 1; i <= n; i++) {
      int x;
      cin >> x;
      for (int i = y; i >= 0; i--) {
        if (x >= b[i]) {
          a[i]++;
          x -= b[i];
        }
      }
    }
    int os = 0;
    for (int i = y; i >= 0; i--) {
      if (a[i] % 4 == 1) {
        os = 1;
        break;
      } else if (a[i] % 4 == 3) {
        if ((n - a[i]) % 2 == 1)
          os = 1;
        else
          os = 2;
        break;
      }
    }
    for (int i = y; i >= 0; i--) a[i] = 0;
    if (os == 0)
      cout << "DRAW";
    else if (os == 1)
      cout << "WIN";
    else
      cout << "LOSE";
    cout << endl;
  }
}
