Problems
Watson`s magic number
Watson`s magic number
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 \textbf{3}×\textbf{3}.
\InputFile
Input contains three lines, each line contains three integers less than \textbf{100}, which defines Watson’s magic matrix.
\OutputFile
You need to print Watson’s magic number.
Input example #1
1 2 3 2 3 4 2 1 1
Output example #1
-1