Largest of Three

Easy 20 XPBasicsConditions

Commonly asked at TCS, Infosys

Read three integers on one line separated by spaces and print the largest. Try it with if/elif first, then with max().

Input
One line: three integers a b c.
Output
The largest integer.

Sample 1

Input

4 19 7

Output

19

Read input with input() (no prompt message) and print only the answer. Run tries the Input box; Submit checks all test cases.

Output Loading Python (first time takes a few seconds)
Press Run to see the result here.
The solution unlocks after 3 submissions.