<>;$s-=$_/2,map${-$_-$'}=1,!//,keys%$,for glob<>;print!$$s&&im,possible