n = int(input()) for _ in range(n): i, j = map(int,input().split()) print(['Lose', 'Win'][(i-1) % (j+1) != 0])