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