#include <bits/stdc++.h>
using namespace std;
signed main() {
  long long t;
  cin >> t;
  for (long long ii = 0; ii < t; ii++) {
    long long n;
    cin >> n;
    long long arr[n + 2];
    for (long long i = 1; i <= n; i++) cin >> arr[i];
    long long cnt2 = 0;
    for (long long i = 31; i >= 0; i--) {
      long long b = pow(2, i);
      long long cntt = 0;
      for (long long j = 1; j <= n; j++) {
        long long c = b & arr[j];
        if (c > 0) cntt++;
      }
      long long k = n - cntt;
      if (cntt % 2 == 1) {
        if (cntt % 4 == 3 && k % 2 == 0)
          cout << "LOSE\n";
        else
          cout << "WIN\n";
        cnt2++;
        break;
      }
    }
    if (cnt2 == 0) {
      cout << "DRAW\n";
    }
  }
  return 0;
}
