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