P = input() for i in xrange(P): N, K = map(int, raw_input().split()) if N <= K or (N-1) % (K+1) != 0: print "Win" else: print "Lose"