100 atcoder#ABC184A. [ABC184A] Determinant

[ABC184A] Determinant

Score : 100100 points

Problem Statement

Given is a 2×22 \times 2 matrix A=[abcd]A = \begin{bmatrix} a & b \\ c & d \end{bmatrix}. The determinant of AA can be found as adbcad-bc. Find it.

Constraints

  • All values in input are integers.
  • 100a,b,c,d100-100 \le a, b, c, d \le 100

Input

Input is given from Standard Input in the following format:

aa bb

cc dd

Output

Print the answer as an integer.

1 2
3 4
-2

The determinant of [1234]\begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} is 1×42×3=21 \times 4 - 2 \times 3 = -2.

0 -1
1 0
1
100 100
100 100
0