N = int(input()) prime = [ True ] * (N + 1) prime[0], prime[1] = False, False for i in range(2, N + 1): if prime[i]: for j in range(i * 2, N + 1, i): prime[j] = False plist = list(filter(lambda x: prime[x], range(2, N + 1))) wins = [ False ] * (N + 1) wins[0], wins[1] = True, True for i in range(2, N + 1): pos = 0 while pos < len(plist) and plist[pos] <= i: if not wins[i - plist[pos]]: wins[i] = True break pos += 1 if wins[N]: print("Win") else: print("Lose")