Three friends compare how much they spent on lunch this week. Fahim's program should tell them who spent the most, so the others know who's buying next time. Read three integers and print the largest one.
Input
Three integers A B C.
Output
The maximum of the three.
Constraints
-10^9 ≤ A,B,C ≤ 10^9
Sample Input
4 9 2
Sample Output
9
main.c
Loading editor…
Write C, then Run (custom I/O) or Submit (sample tests). ⌘/Ctrl+Enter submits.