Back to tasks
The biggest of three
BeginnerPython for kids 路 Lesson 26: An if inside an if
Problem Statement
Read three numbers a, b and c and print the biggest. Use ifs inside ifs (a tournament: first a against b, then the winner against c).
Input Format
Three whole numbers a, b and c, each on its own line (-1000 <= a, b, c <= 1000).
Output Format
One number - the result.
Examples
Example 1
Input
4 9 7
Output
9
Example 2
Input
8 2 8
Output
8