def mark(s, x): for i in range(x + x, len(s), x): s[i] = False # return prime list where less than n def sieve(n): s = [True] * n for x in range(2, int(n ** 0.5) + 1): if s[x]: mark(s, x) return [i for i in range(0,n) if s[i] and i > 1] if __name__ == "__main__": N = int(input()) if N <= 3: print("Lose") else: slist = sieve(N - 1) WLList = [False] * (N+1) checkList = [] for x in range(4, N+1): if x-2 in slist: checkList.append(x-2) checkList2 = list(map(lambda p : x-p, checkList)) for y in checkList2: if WLList[y] == False: WLList[x] = True if WLList[N]: print("Win") else: print("Lose")