Coordinates
CPU usage time limit is 1 second
Runtime memory usage limit is 256 megabytes
Given a point in 3D space.
Find the squared distance from this point to the origin (i.e., to the point ).
Recall that the distance between two points and is defined by the formula
Input
The first line contains one integer ().
The second line contains one integer ().
The third line contains one integer ().
Output
Output one integer.
Examples
Input #1
Answer #1
Note
In the first test, we are interested in the squared distance from the point to .
Substituting the coordinates into the formula, we get:
Submissions 352
Acceptance rate 71%