$/=[Z-] words[^2,2..3];say 1+?($0²+$1²>5&&$0*$1)