Max of Three Numbers
Find the largest of three integers by comparing them.
Input format
A single line with three integers A, B, and C.
Output format
Print the largest of the three numbers.
Constraints
- Values fit in a 64-bit signed integer
- Trailing whitespace and a trailing newline are ignored by the judge
Read from stdin, write to stdout. Sample cases below show the exact format.
Sample cases
Example 1
Input
3 9 5Expected output
9Example 2
Input
-1 -7 -3Expected output
-1