Most of us were introduced with Pythagoras’s theorem back at the high school. It states a simple yet fascinating fact about right triangles. A right triangle is a triangle, in which one of the angles is 90 degrees. Pythagoras’s theorem says, for right triangle, the following formula holds:
Here, c is the length of the hypotenuse and a and b are the length of the other two sides. If a, b and c are all integers, then together they are called a Pythagorean triple.
In this problem, you will be given a Pythagorean triple, you will have to answer the length of the hypotenuse from the given triple.
The only input line contains three integers X, Y and Z ( 1 ≤ X,Y,Z ≤ 109 ), the three sides of a Pythagorean triangle.
The output contains one integer, the length of the hypotenuse of the given triangle.
3 4 5
5 12 13