题目描述
Super girls is well-known to young men. But how to choose the super girls? We can see from the Hunan TV that there are many judges mark to the girls. If a girl gets marks of 95 ,100,85 and 95. Her score is 95---(95+95)/2--- because the top mark 100 and the bottommost 85 should take out.
输入
This problem contains multiple test cases!
Each test case one line starts with an integer n( the number of judges,3<=n<=100) and then n marks(between 0 and 100).
输出
For each test case output on a single line with the last score of the girl. You should reserve the score 2 decimal digits.
3 99 98 97
4 100 99 98 97