#include <bits/stdc++.h>
using namespace std;
const int maxn = 1e5 + 5;
int cnt[maxn];
int main() {
  int T;
  scanf("%d", &T);
  while (T--) {
    memset(cnt, 0, sizeof(cnt));
    int n;
    cin >> n;
    int sum = 0;
    for (int i = 1; i <= n; i++) {
      int x;
      cin >> x;
      sum ^= x;
      for (int j = 0; j <= 30; j++) {
        if (x & (1 << j)) cnt[j]++;
      }
    }
    if (sum == 0) {
      cout << "DRAW" << endl;
      continue;
    }
    for (int i = 30; i >= 0; i--) {
      if (cnt[i] % 2 == 0) {
        continue;
      } else {
        if (cnt[i] % 4 == 3 && n % 2 != 0) {
          cout << "LOSE" << endl;
        } else {
          cout << "WIN" << endl;
        }
        break;
      }
    }
  }
  return 0;
}
