read {a..d} echo $[(a-=c)**2+(b-=d)**2>5&&a*b?2:1]