read a b echo $[b?a+1?-1:2:1]