N,K=map(int,inpit().split()) if N == K: print("DRAW") elif N == 0 and K == 1: print("WON") elif N == 1 and K == 2: print("WON") elif N == 2 and K == 0: print("WON") else: print("LOST")