def is_prime(num): if num <= 1: return False for i in range(2, int(num**0.5) + 1): if num % i == 0: return False return True def prime_num_game(N): if N <= 2: return False primes = [] for i in range(2, N + 1): if is_prime(i): primes.append(i) dp = [False] * (N + 1) for i in range(2, N + 1): for prime in primes: if prime > i: break if not dp[i - prime]: dp[i] = True break return dp[N] N = int(input()) print("Win" if prime_num_game(N) else "Lose")