#include <bits/stdc++.h>
using namespace std;
const long long N = 1e3 + 5, M = 1e4 + 5, INF = 1e9;
int main() {
  int t;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    int cnt[31];
    memset(cnt, 0, sizeof(cnt));
    for (int i = 1; i <= n; i++) {
      int x;
      cin >> x;
      for (int j = 0; j < 31; j++) {
        if ((x & (1 << j))) cnt[j]++;
      }
    }
    int odd = -1;
    for (int j = 0; j < 31; j++) {
      if (cnt[j] % 2) odd = cnt[j];
    }
    if (odd == -1) {
      cout << "DRAW" << endl;
      continue;
    }
    if (odd % 4 == 1) {
      cout << "WIN" << endl;
      continue;
    }
    int ost = n - 3;
    if (ost % 2 == 1) {
      cout << "WIN" << endl;
    } else {
      cout << "LOSE" << endl;
    }
  }
}
