read {a..d} echo $[(a-c)*(b-d)/3?2:1]