map{push@@,$_ if//>grep$'%$_<1,2..sqrt;grep$l[$'-$_],@@or$l[$_]=Lose}2..1e4;print$l[<>]||Win