#include <bits/stdc++.h>
namespace IO {
char ss[1 << 17], *_A = ss, *_B = ss;
template <class T>
inline void In(T &x) {
  char c;
  T y = 1;
  while (
      c = (_A == _B && (_B = (_A = ss) + fread(ss, 1, 1 << 17, stdin), _A == _B)
               ? -1
               : *_A++),
      !isdigit(c) && c != -1)
    if (c == 45) {
      y = -1;
    }
  x = c - 48;
  while (
      c = (_A == _B && (_B = (_A = ss) + fread(ss, 1, 1 << 17, stdin), _A == _B)
               ? -1
               : *_A++),
      isdigit(c)) {
    x = x * 10 + c - 48;
  }
  x *= y;
}
template <class T, class... _T>
inline void In(T &x, _T &...y) {
  return In(x), In(y...);
}
template <class T>
inline void In(T *a, int Len) {
  for (int i = 0, iend = (Len - 1) + 1; i < iend; ++i) In(*(a + i));
}
inline void In(char *a) {
  char c =
      (_A == _B && (_B = (_A = ss) + fread(ss, 1, 1 << 17, stdin), _A == _B)
           ? -1
           : *_A++);
  for (; c <= 32;
       c = (_A == _B &&
                    (_B = (_A = ss) + fread(ss, 1, 1 << 17, stdin), _A == _B)
                ? -1
                : *_A++))
    ;
  for (*a = c; c > 32; *(++a) = c)
    c = (_A == _B && (_B = (_A = ss) + fread(ss, 1, 1 << 17, stdin), _A == _B)
             ? -1
             : *_A++);
}
char sr[1 << 21], _z[20], *_C = sr, *_D = sr + (1 << 21) - 1;
int _Z;
inline void flush() { fwrite(sr, 1, _C - sr, stdout), _C = sr; }
inline void pc(char c) {
  *_C++ = c;
  if (*_C == *_D) flush();
}
inline void ps(const char *c) {
  while (*c) {
    *_C++ = *c++;
    if (_C == _D) flush();
  }
}
template <class T>
inline void Out(T x, char c = '\n') {
  if (x < 0) pc(45), x = -x;
  while (_z[++_Z] = x % 10 + 48, x /= 10)
    ;
  while (pc(_z[_Z]), --_Z) {
  };
  pc(c);
}
template <class T, class... _T>
inline void Out(T x, _T... y) {
  return Out(x, ' '), Out(y...);
}
template <class T>
inline void Out(T *a, int Len) {
  for (int i = 0, iend = (Len - 1) + 1; i < iend; ++i)
    Out(*(a + i), " \n"[i == Len - 1]);
}
struct _Flush {
  ~_Flush() { flush(); }
} flusher;
}  // namespace IO
using namespace std;
using namespace IO;
const int N = 1e5 + 5, M = 30 + 5;
int n, b[M] = {1}, Cnt[M];
inline void Solve() {
  int x;
  memset(Cnt, 0, sizeof Cnt);
  for (int i = 1, iend = (n) + 1; i < iend; ++i) {
    In(x);
    for (int j = 0, jend = (30) + 1; j < jend; ++j) Cnt[j] += ((x & b[j]) > 0);
  }
  for (int i = 30, iend = (0) - 1; i > iend; --i)
    if (Cnt[i] & 1)
      return (void)puts((Cnt[i] % 4 == 3 && (n - Cnt[i]) % 2 == 0) ? "LOSE"
                                                                   : "WIN");
  puts("DRAW");
}
int main() {
  for (int i = 1, iend = (30) + 1; i < iend; ++i) b[i] = b[i - 1] << 1;
  In(n);
  while (In(n), n != -49) Solve();
  return 0;
}
