eolymp
bolt
Try our new interface for solving problems
Problems

Minimum and maximum

Minimum and maximum

Time limit 1 second
Memory limit 128 MiB

Find minimum and maximum between two positive integers.

Input data

Two positive integers a and b~(a, b \le 10^9).

Output data

Print in one line the minimum and then maximum between two numbers a and b.

Examples

Input example #1
4 2

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