#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  int t;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    long long int arr[n];
    long long int S = 0;
    for (int i = 0; i < n; i++) cin >> arr[i], S ^= arr[i];
    if (S == 0)
      cout << "DRAW" << endl;
    else {
      long long int last = S & (-S);
      while (S - last > 0) {
        S -= last;
        last = S & (-S);
      }
      int one = 0;
      int zero = 0;
      for (int i = 0; i < n; i++) {
        if ((last & arr[i]) > 0)
          one++;
        else
          zero++;
      }
      if (one % 4 == 1) {
        cout << "WIN" << endl;
      } else {
        if (zero % 2 == 0)
          cout << "LOSE" << endl;
        else
          cout << "WIN" << endl;
      }
    }
  }
  return 0;
}
