#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false), cin.tie(NULL), cout.tie(NULL);
  srand(time(NULL));
  ;
  int T = 1;
  cin >> T;
  while (T--) {
    int n, f = 0;
    cin >> n;
    int a[n];
    for (int i = 0; i < int(n); i++) cin >> a[i];
    for (int i = 30; i >= 0; i--) {
      int x = 0;
      for (int j = 0; j < int(n); j++)
        if (a[j] & (1 << i)) x++;
      if (x % 2) {
        if (x % 4 == 3 && n % 2) {
          f = 2;
          break;
        } else {
          f = 1;
          break;
        }
      }
    }
    if (f == 0) cout << "DRAW\n";
    if (f == 1) cout << "WIN\n";
    if (f == 2) cout << "LOSE\n";
  }
  return 0;
}
