LearnPy Hub
← Input problems
Hard

Smallest and Largest

Read a line of space-separated integers and print min=X max=Y.

Input

One line of integers.

Output

One line.

Sample 1

Input
5 1 9 3
Output
min=1 max=9

Sample 2

Input
7
Output
min=7 max=7
solution.py
Output appears here
Smallest and Largest · Python practice problem · LearnPy Hub