require 'prime' N = gets.to_i p = Prime.each(N).to_a dp = Array.new(N + 1, true) 2.upto(N) do |i| dp[i] = p.take_while {|q| q <= i}.any? {|q| not dp[i - q]} end ans = if dp[N] "Win" else "Lose" end puts ans