#include <bits/stdc++.h>
using namespace std;
int t, n;
const int maxn = 1e5 + 100;
int a[maxn];
int num[31];
int main() {
  ios::sync_with_stdio(false), cin.tie(0), cout.tie(0);
  cin >> t;
  while (t--) {
    memset(num, 0, sizeof(num));
    cin >> n;
    for (int i = 0; i < n; i++) {
      int x;
      cin >> x;
      for (int j = 0; j < 31; j++) {
        if ((x >> j) & 1) num[j]++;
      }
    }
    int flag = 0;
    for (int i = 31; i >= 0; i--) {
      if (num[i] % 2) {
        int tmp = (num[i] - 1) >> 1;
        if (tmp % 2) {
          if (n % 2) {
            flag = -1;
            break;
          } else {
            flag = 1;
            break;
          }
        } else {
          flag = 1;
          break;
        }
      } else {
        continue;
      }
    }
    if (!flag) cout << "DRAW" << endl;
    if (flag == 1) cout << "WIN" << endl;
    if (flag == -1) cout << "LOSE" << endl;
  }
}
