<>;@d=sort{$a-$b}glob<>;map$z+=abs,glob<>;print" @d "=~" $z "||-!grep($z<=($_&1?$b:$a=$_)*2&~$z|$z>=abs$b-$a&$z<=$a+$b,@d)||$z&&2