#include <bits/stdc++.h>
using namespace std;
int32_t main() {
  long long int t;
  cin >> t;
  while (t--) {
    long long int n;
    cin >> n;
    long long int array[n];
    long long int x = 0;
    for (long long int i = 0; i < n; i++) {
      cin >> array[i];
      x ^= array[i];
    }
    if (x == 0) {
      cout << "DRAW\n";
      continue;
    }
    for (long long int i = 32; i >= 0; i--) {
      if ((x >> i) % 2 == 1) {
        long long int bits[2] = {0};
        for (long long int j = 0; j < n; j++) {
          bits[(array[j] >> i) & 1]++;
        }
        if (bits[0] % 2 == 0 && bits[1] % 4 == 3) {
          cout << "LOSE\n";
        } else {
          cout << "WIN\n";
        }
        break;
      }
    }
  }
  return 0;
}
