import sequtils,strutils var A : array[2..10000,bool] sosuu = newSeq[int](0) k : int for i,a in A: if a == false: k = i * 2 while k <= 10000: A[k] = true k += i sosuu.add(i) let N = stdin.readline.parseInt var B = newSeqWith(N + 1,false) B[0] = true B[1] = true for i in 2..N: for s in sosuu: if s > i: break if B[i - s] == false: B[i] = true break if B[N] == false: echo "Lose" else: echo "Win"