import sequtils,strutils,strscans,algorithm,math,future,sets,queues,tables template get():string = stdin.readLine() template times(n:int,body:untyped): untyped = (for _ in 0.. win 0 1 4 5 6 7 ... const isPrime = getIsPrime(10000) let N = get().parseInt var win = newSeqWith(N,false) win[0] = true win[1] = true for i in 2..N: for j in 2..i: if not isPrime[j]: continue if not win[i-j]: win[i] = true echo if win[N]: "Win" else: "Lose"