#include <bits/stdc++.h>
using namespace std;
int32_t main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long t;
  cin >> t;
  while (t--) {
    long long n;
    cin >> n;
    long long arr[n];
    for (long long i = 0; i < n; i++) cin >> arr[i];
    long long soln[35] = {0};
    for (long long i = 0; i < n; i++) {
      for (long long j = 0; j < 35; j++) {
        long long temp = pow(2, j);
        if ((arr[i] & temp) > 0) {
          soln[j] += 1;
        }
      }
    }
    string ans = "DRAW";
    for (long long i = 34; i >= 0; i--) {
      if (soln[i] % 2 == 1) {
        if (n % 2 == 0) {
          ans = "WIN";
        } else {
          if (soln[i] % 4 == 3) {
            ans = "LOSE";
          } else
            ans = "WIN";
        }
        break;
      }
    }
    cout << ans << "\n";
  }
  return 0;
}
