#include <bits/stdc++.h>
static constexpr std::size_t bits = 32;
int main() {
  int tests;
  std::cin >> tests;
  for (int t = 0; t < tests; ++t) {
    std::size_t n;
    std::cin >> n;
    std::size_t cnt[bits] = {};
    for (std::size_t i = 0; i < n; ++i) {
      int a;
      std::cin >> a;
      for (std::size_t b = 0; b < bits; ++b)
        if (a & (1 << b)) ++cnt[b];
    }
    int result = 0;
    for (std::size_t b = bits; b > 0; --b) {
      if (cnt[b - 1] % 2 == 1) {
        if (cnt[b - 1] % 4 == 1)
          result = +1;
        else if (n % 2 == 0)
          result = +1;
        else
          result = -1;
        break;
      }
    }
    if (result == +1) std::cout << "WIN\n";
    if (result == 0) std::cout << "DRAW\n";
    if (result == -1) std::cout << "LOSE\n";
  }
}
