#include <bits/stdc++.h>
using namespace std;
const int mod = 1e9 + 7;
const int KINF = 0x3f3f3f3f;
const int N = 1e5 + 10;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  int _;
  cin >> _;
  while (_--) {
    int n;
    cin >> n;
    int a[n];
    int sum = 0;
    for (int i = (int)0; i < (int)n; ++i) {
      cin >> a[i];
      sum ^= a[i];
    }
    if (sum == 0) cout << "DRAW" << endl;
    for (int i = 30; i >= 0; i--) {
      if (sum >> i & 1) {
        int cnt1 = 0, cnt2 = 0;
        for (auto& num : a) {
          if (num >> i & 1)
            cnt1++;
          else
            cnt2++;
        }
        if (((cnt1 + 1) / 2) % 2 == 0 && cnt2 % 2 == 0) {
          cout << "LOSE\n";
        } else
          cout << "WIN\n";
        break;
      }
    }
  }
  return 0;
}
