Competitions
Week 8: December 28 - January 10. Functions. Part 1
Minimum and maximum
Find minimum and maximum between two positive integers.
Input
Two positive integers a and b (a, b ≤ 109
).
Output
Print in one line the minimum and then maximum between two numbers a and b.
Input example #1
4 2
Output example #1
2 4
Input example #2
10 100
Output example #2
10 100