N = int(input()) primes = [] for i in range(2, N+1): flg = True for j in primes: if i % j == 0: flg = False break if flg: primes.append(i) dp = [False] * (N + 1) dp[0] = dp[1] = True # 初期値(先攻が負けることはない) for i in range(2, N + 1): for prime in primes: if prime > i: break if not dp[i - prime]: dp[i] = True break print("Win" if dp[N] else "Lose")