#include <bits/stdc++.h>
using namespace std;
const int nax = 30000;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int t;
  cin >> t;
  while (t--) {
    vector<int> v(33);
    int n, dis = 0;
    cin >> n;
    for (int i = 0; i < n; ++i) {
      int a;
      cin >> a;
      for (int j = 0; j < 33; ++j) {
        v[j] += a % 2;
        a /= 2;
      }
    }
    for (int j = 32; j >= 0; --j) {
      if (v[j] % 2) {
        if ((n - v[j]) % 2) {
          dis = 1;
          cout << "WIN\n";
          break;
        } else if (v[j] % 4 == 1) {
          dis = 1;
          cout << "WIN\n";
          break;
        } else {
          dis = 1;
          cout << "LOSE\n";
          break;
        }
      }
    }
    if (!dis) {
      cout << "DRAW\n";
    }
  }
}
