N = int(input()) def sosuuhan(N): sosuu = [] for i in range(N): if i == 0 or i == 1: continue prime = True for k in sosuu: if i % k == 0: prime = False break if prime: sosuu.append(i) return sosuu 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 sosuuhan(N): if k + i <= N: kachi[k + i] = True if kachi[N]: print("Win") else: print("Lose")