Arithmetic mean for figure skaters#7368

Arithmetic mean for figure skaters

1 second
128 megabytes
Very easy

In a figure skating competition, judges assign scores to the athletes. A technical official removes all maximum and minimum scores, and the average of the remaining scores is calculated. This result is considered the athlete's final score. Determine the final score for each athlete.

Input

The first line contains two integers: the number of judges n~(0 < n \le 10) and the number of athletes m~(0 < m \le 100). The next lines contain integers each — the scores given by all judges for each athlete.

Output

Print numbers in a single line, each rounded to two decimal places, representing the final score of each athlete.

Examples

Example 1

Loading
Loading