#include <bits/stdc++.h>
using namespace std;
const long long INF64 = 1e18;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long int chu;
  cin >> chu;
  while (chu--) {
    long long int n;
    cin >> n;
    long long int a[n];
    for (long long int i = 0; i < n; i++) cin >> a[i];
    int fl = 0;
    int i, j;
    for (i = 32; i >= 0; i--) {
      int ct = 0;
      for (j = 0; j < n; j++) {
        if ((a[j] >> i) & 1) ct++;
      }
      if (ct % 2 == 0) continue;
      long long int x = n - ct;
      if (ct % 4 == 3 && x % 2 == 0)
        cout << "LOSE";
      else
        cout << "WIN";
      fl = 1;
      break;
    }
    if (!fl) cout << "DRAW";
    cout << "\n";
  }
  return 0;
}
