print() and input() are great examples of such built-in functions. When dealing with computations, in many cases it’s required to compute min or max values among several values. To help with those operations python provides built-in functions min(), max(), and abs() to compute the minimum, maximum, and the absolute value correspondingly.

Notice that abs() takes only a single value and computes the absolute value for only 1 item, while min() and max() operate with an arbitrary number of values.

Try providing min or max a single value. What will happen? Why?

Challenge

Given 4 floating-point numbers in the input, compute their minimum and maximum and print the values in the output side by side. The next 4 lines should contain the absolute values for all the inputted numbers.