N = int(input()) import math def prime(n): l = math.floor(n ** (1/2)) if n == 2: return 1 elif n == 1: return 0 for i in range(2,l + 1): if n % i == 0: return 0 return 1 N_list = [0] * (N + 1) N_list[2] = 0 N_list[3] = 0 #0 ... formar lose end = 0 p_list = [] for i in range(2,N + 1): if prime(i) == 1: p_list.append(i) if prime(N) == 1: p_list.remove(N) #make win-lose list N_list = [0] * (N+1) N_list[0] = -1 N_list[1] = -1 if N > 3: for i in range(4,N+1): for line in p_list: if i - line > 1: if N_list[i - line] == 0: N_list[i] = 1 break if N_list[N] == 1: print("Win") else: print("Lose")