import math N = int(input()) def make_prime_list_2(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] kachi = [False] * (N + 1) kachi[0] = True kachi[1] = True for k in range(N): if k == 0 or k == 1 or kachi[k]: continue for i in make_prime_list_2(N): if k + i <= N: kachi[k + i] = True if kachi[N]: print("Win") else: print("Lose")