There is a list consisting of N numbers, guaranteed order(ascending or descending). Please calculated the maximun, median, and mininum values of this set of test data and output there numbers in the order from largest to smallest.
4
-2 -1 3 4
4 1 -2