Coordinates#361

Coordinates

1 second
256 megabytes
Very easy

Given a point (x, y, z) in 3D space.

Find the squared distance from this point to the origin (i.e., to the point (0, 0, 0)).

Recall that the distance between two points (x_1, y_1, z_1) and (x_2, y_2, z_2) is defined by the formula

\sqrt{(x_1-x_2)^2+(y_1-y_2)^2+(z_1-z_2)^2}

Input

The first line contains one integer (-100 \leq x \leq 100).

The second line contains one integer (-100 \leq y \leq 100).

The third line contains one integer (-100 \leq z \leq 100).

Output

Output one integer.

Examples

Example 1

Loading
Loading

Note

In the first test, we are interested in the squared distance from the point (1, -3, 5) to (0, 0, 0).

Substituting the coordinates into the formula, we get:

\Big(\sqrt{(1-0)^2+(-3-0)^2+(5-0)^2}\Big)^2=
=\Big(\sqrt{1+9+25}\Big)^2=35