Back to tasks
The smaller of two
BeginnerPython for kids 路 Lesson 21: if - when the condition is true
Problem Statement
Read two numbers a and b. Print the smaller one.
Input Format
Two whole numbers a and b, each on its own line (-1000 <= a, b <= 1000).
Output Format
One number - the result.
Examples
Example 1
Input
8 3
Output
3
Example 2
Input
2 9
Output
2