#include <bits/stdc++.h>
using namespace std;
int32_t main() {
  long long int t;
  cin >> t;
  while (t--) {
    long long int n;
    cin >> n;
    long long int a[n];
    long long int b[32] = {0};
    for (long long int i = 0; i < n; i++) {
      cin >> a[i];
      for (long long int j = 32; j >= 0; j--) {
        long long int x = pow(2, j);
        if (a[i] & x) b[j]++;
      }
    }
    long long int f = 0;
    for (long long int i = 32; i >= 0; i--) {
      if (b[i] % 2 == 0) continue;
      long long int x = b[i] / 2;
      if (b[i] % 4 == 1) {
        f = 1;
        break;
      } else {
        if ((n - b[i] / 2) % 2 == 0)
          f = 2;
        else
          f = 1;
        break;
      }
      break;
    }
    if (f == 0) cout << "DRAW\n";
    if (f == 1) cout << "WIN\n";
    if (f == 2) cout << "LOSE\n";
  }
}
