#!ruby -nrprime d=[] 2.upto(n=$_.to_i){|i|d[i]||Prime.each(n){|p|d[p+=i]=p<=n}} puts d[n]?:Win: :Lose