import sys input=lambda:sys.stdin.readline().rstrip() N=int(input()) for i in range(N): A,B=map(int,input().split()) print(["Win","Lose"][A%(B+1)==1])