x, y = map(int, input().strip().split()[0:2])

if ((x*y-1) % 2) == 1:
    print("WIN")
else:
    print("LOSE")