More MMMM --------- Silvia is taking a statistics course. In the first week, the notions minimum, maximum, median (the one in the middle or the average of the two in the middle) and medium (also known as average) are reviewed. Since she is interested in computing, she wants to write a program that computes the four M's for a collection of integers. Can you help her? Input ----- The input consists of multiple test cases. Each test case consists of one line. Each test case starts with an integer N, where 0 < N < 10^6. N is the number of integers for which we need to compute the four M's. N is followed by N integers, where each integers is greater than or equal to 0 and smaller than or equal to 10^15. For these integers the four M's need to be computed. The input ends with a 0 (this case should not be considered). Output ------ For each test case, the output should consist of exactly one line containing the minimum, maximum, median and medium, seperated by a single space. Both the median and medium should be printed with a single decimal. For example, if the medium is 2.666... then 2.7 should be printed. Sample input ------------ 1 5 3 7 1 3 2 8 2 4 1 2 3 6 0 Sample output ------------- 5 5 5.0 5.0 1 7 3.0 3.7 2 8 5.0 5.0 1 6 2.5 3.0