require 'prime' n = gets.chomp.to_i c = 0 while(n > 0) c += 1 if(Prime.prime?(n)) break elsif(Prime.prime?(n-1)) c += 1 break end end p (c%2 == 1)? "Win":"Lose"