import math def SoE(x): if x < 2: return [] l = [i for i in range(x + 1)] l[1] = 0 for i in l: if i > math.sqrt(x): break if i == 0: continue for j in range(2 * i , x + 1, i): l[j] = 0 return [i for i in l if i != 0] N = int(input()) l_prime = SoE(N) dp = [-1 for i in range(N + 1)] dp[2] = 0 dp[3] = 0 for i in range(4, N + 1): for prime in l_prime: if i - prime < 2 : dp[i] = 0 break if dp[i - prime] == 0: dp[i] = 1 break else: dp[-1] = 0 print(dp) if dp[-1]: print("Win") else: print("Lose")