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+1): flag = False for j in hurui: if j > i: continue if not f[i-j]: flag = True break f[i] = flag if f[N]: print("Win") else: print("Lose")