N = int(input()) hurui = set(range(2,N+1)) for i in range(2,N+1): for j in range(i*2,N+1,i): hurui.discard(j) f = [False]*100000 f[0]=f[1]=True for i in range(2,N+1): flag = False for j in hurui: if i-j>=0 and f[i-j]==False: flag = True;break f[i]=flag print("Win"if f[N] else "Lose")