n=int(input()) def prime(N): prime_list=[] min_prime_factor=[None]*(N+1) for d in range(2,N+1): if min_prime_factor[d] is None: min_prime_factor[d]=d prime_list.append(d) for p in prime_list: if p*d>N or p>min_prime_factor[d]: break min_prime_factor[p*d]=p return prime_list l=prime(n) dp=[0]*(n+1) dp[0]=1 dp[1]=1 for i in range(2,n+1): for j in range(len(l)): if i>=l[j]: if dp[i-l[j]]==0: dp[i]=1 break else: break if dp[-1]==1: print('Win') else: print('Lose')