#!ruby -na a,b,c,d,e,f=$F.map &:hex puts [b*f-c*e,c*d-a*f,a*e-b*d]*' '