read j k l read a b c read d e f read g h i echo $[(a-=j)*(e-=k)*(i-=l)+(b-=k)*(f-=l)*(g-=j)+(c-=l)*(d-=j)*(h-=k)-a*h*f-b*i*d-c*g*e)/6]