#Lutece2964. 计算行列式

计算行列式

Migrated from Lutece 2964 计算行列式

All parts of this problem, including description, images, samples, data and checker, might be broken. If you find bugs in this problem, please contact the admins.

Description

来都来了,不先来签个到吗? 给定一个三阶矩阵,计算它的行列式。

Input

输入包含三行,每行包含三个整数,描述了一个三阶矩阵。

Output

输出一行一个整数,表示行列式的值。

Samples

5 2 0
0 1 3
0 1 4
5

Constraints

保证所有输入的数为整数,且其绝对值不超过100。