N=int(input()) l=N+1 P=[1]*l for i in range(2,l): if P[i]: for j in range(i+i,l,i): P[j]=0 P=[i for i in range(2,l) if P[i]] q=[0]*(N+1) for i in range(4,N+1): g=[0]*(len(P)+1) for p in P: if 2<=i-p: g[q[i-p]]=1 for j in range(len(P)+1): if g[j]==0: q[i]=j break print(["Lose","Win"][q[N]>0])