e-olymp
Problems

Minimum and maximum

Minimum and maximum

Find minimum and maximum between two positive integers.

Input

Two positive integers a and b (a, b109).

Output

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