N = int(input()) memo = [False] * (N+1) prime = [] memo[0] = True memo[1] = True #素数列を作る(=prime) for n in range(2,N+1): flag = True for m in range(2, n): if n%m == 0: flag = False break if flag: prime.append(n) for i in range(N+1): if not memo[i]: for p in prime: if i + p <= N: memo[i + p] = True if memo[N]: print("Win") else: print("Lose")