#include <bits/stdc++.h>
using namespace std;
signed main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  long long int t;
  cin >> t;
  while (t--) {
    long long int n;
    cin >> n;
    long long int a[n];
    for (long long int i = 0; i < n; i++) cin >> a[i];
    long long int f = 1;
    for (long long int i = 31; i >= 0; i--) {
      long long int one = 0, zero = 0;
      for (long long int j = 0; j < n; j++) {
        if ((1 << i) & a[j])
          one++;
        else
          zero++;
      }
      if (one % 2 == 0)
        continue;
      else {
        if (one % 4 == 3 && zero % 2 == 0)
          cout << "LOSE\n";
        else
          cout << "WIN\n";
        f = 0;
        break;
      }
    }
    if (f) cout << "DRAW\n";
  }
  cerr << "Time elapsed : " << 1.0 * clock() / CLOCKS_PER_SEC << " sec \n";
}
