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) dp = [-1]*(N+10) dp[0] = 0 dp[1] = 0 def grundy(x): if dp[x] != -1: return dp[x] s = set() for i in range(2, x+1): if i in hurui: s.add(grundy(x-i)) for i in range(x+1): if i not in s: dp[x] = i return i if grundy(N)&1: print("Lose") else: print("Win")