AlgoBazaAlgoBaza
Back to tasks

The smallest of three

Beginner

Python for kids 路 Lesson 26: An if inside an if

Problem Statement

Read three numbers a, b and c and print the smallest - with a tournament of ifs inside ifs.

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

4
Example 2

Input

5
5
9

Output

5