N = int(input()) hurui = set(range(2, N+1)) for i in range(2, N+1): for j in range(i*2, N+1, i): hurui.discard(j) f = [False]*100000 f[0] = True f[1] = True for i in range(2, N): flag = False for j in hurui: if not f[i-j]: flag = True break f[i] = flag if f[N-1]: print("Win") else: print("Lose")