AlgoBazaAlgoBaza
Back to tasks

A flipped sign

Beginner

Python for kids 路 Lesson 29: Mistakes in ifs

Problem Statement

The program should print the smaller of two numbers - but it prints the bigger one. This program has a mistake - find it and submit the fixed version.

a_str = input()
a = int(a_str)
b_str = input()
b = int(b_str)
if a > b:
    print(a)
else:
    print(b)
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

4
9

Output

4
Example 2

Input

9
4

Output

4