K=int(input()) A=[0]*K P=[0]*K H=[0]*K Grundy=0 for i in range(K): a,p=map(int,input().split()) A[i]=a P[i]=p h=a%(p+1) H[i]=h Grundy^=h if Grundy: print("Win") else: print("Lose")