# coding: utf-8 import math N = int(input()) def make_prime_list(num): if num < 2: return [] # 0のものは素数じゃないとする prime_list = [i for i in range(num + 1)] prime_list[1] = 0 # 1は素数ではない num_sqrt = math.sqrt(num) for prime in prime_list: if prime == 0: continue if prime > num_sqrt: break for non_prime in range(2 * prime, num, prime): prime_list[non_prime] = 0 return [prime for prime in prime_list if prime != 0] primes = make_prime_list(10 ** 5) dp = [-1] * (N + 1) dp[0] = 1 dp[1] = 1 dp[2] = -1 dp[3] = -1 for num in range(4, N + 1): for prime in primes: if prime > num: break if dp[num - prime] is False: dp[num] = True break if dp[N]: print("Win") else: print("Lose")