# coding: utf-8 #yuki_8 p=int(raw_input()) for i in xrange(p): n,k=map(int,raw_input().split()) if n%(k+1)==1: print "Lose" else: print "Win"