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