A Pythagorean triple consists of three positive integers , , and , such that .
The Pythagoras's theorem says, for a right triangle (a triangle with one of the sides being ), the same formula holds (where , , and ) are the three sides of the triangle.
In this problem, you will be given a Pythagorean triple, you will have to determine which of the three numbers in the triple represents the hypotenuse of the triangle.
The only input line contains three integers , , and (), the three sides of a Pythagorean triangle.
Print the number among , , and that represents the hypotenuse.
3 4 5
5 12 13
Login to submit