require 'prime' n = gets.to_i a = Array.new(n+1, false) a[4] = true for i in 2..n for j in Prime.each(i) if not a[i - j] and i - j != 0 and i - j != 1 a[i] = true break end end end puts (a[n])? "Win" : "Lose"