eolymp
bolt
Try our new interface for solving problems
Problems

Minimum and maximum

Minimum and maximum

Find minimum and maximum between two positive integers. \InputFile Two positive integers $a$ and $b~(a, b \le 10^9)$. \OutputFile Print in one line the minimum and then maximum between two numbers $a$ and $b$.
Time limit 1 second
Memory limit 128 MiB
Input example #1
4 2

Output example #1
2 4
Input example #2
10 100
Output example #2
10 100