Rybka wants to know Watson’s magic number. Watson’s magic number is a determinant of Watson’s magic matrix. Watson’s magic matrix is some known matrix with dimensions 3×3.
Input contains three lines, each line contains three integers less than 100, which defines Watson’s magic matrix.
You need to print Watson’s magic number.