N =input();C=[0]+[1]*N;C[1]=d=0;R=range while d**2<=N: if C[d]: for c in R(d*2,N+1,d):C[c]=0 d+=1 P=[i for i in R(N+1)if C[i]] D=[1]+[0]*N*2;D[1]=1 for i in R(N): for p in P:D[i+p]|=D[i]^1 print["Lose","Win"][D[N]]