p = int(input()) for i in range(p): n,k = map(int,raw_input().split()) if n <= k : print 'Lose' next print 'Lose' if (n/k)%2 == 1 else 'Win'