N=int(input()) for i in range(N): a,b=map(int,input().split()) if a+1<=b: print("Win") elif (a-1)%(b+1)==0: print("Lose") else: print("Win")