read t for((;t--;z|=(y-x)**2-1,y=x)){ read x } T echo ${_[z]-F}