Problem 763
Largest of Three Numbers
Problem
Read three integers and print the largest of them. Some of them may be equal, in which case the largest value is simply printed once. Compare the first two numbers, keep the bigger one, and then compare it with the third. Most languages also offer a max function that does this for you.
Input
A single line with three integers A, B and C.
Output
Print the largest of the three numbers.
Constraints
-10^9 <= A, B, C <= 10^9
Example input
4 9 2
Example output
9
Explanation
Among 4, 9 and 2, the number 9 is larger than both others, so the answer is 9.