#include <bits/stdc++.h>
using namespace std;
int vis[35], t, n;
int main() {
  cin >> t;
  while (t--) {
    cin >> n;
    memset(vis, 0, sizeof vis);
    for (int i = 0; i < n; ++i) {
      int x;
      cin >> x;
      int cnt = 0;
      while (x) {
        if (x & 1) vis[cnt]++;
        cnt++;
        x >>= 1;
      }
    }
    int flag = -1;
    for (int i = 34; i >= 0; --i) {
      if (vis[i] % 4 == 1) {
        flag = 1;
        break;
      } else if (vis[i] % 4 == 3) {
        if (n & 1)
          flag = 0;
        else
          flag = 1;
        break;
      }
    }
    if (flag == 1)
      cout << "WIN\n";
    else if (flag == 0)
      cout << "LOSE\n";
    else
      cout << "DRAW\n";
  }
  return 0;
}
