Average value - 2
The project "The average weight of a high school student" was solved by Mammad and Samed. What they will do with this number, they do not tell. They asked to weigh all the pupils of the school and put the results into the table. Help them to calculate the average weight of the students. But they ask that the students with two biggest and two smallest weights should not be considered. Their only omission, they did not calculate the total number of students, but this, of course, does not prevent you from calculating what they are asking for.
Input
In a few lines, the weights of students are given in kilograms, separated by spaces (one or more) or by the end of line character. Read the weights of the students until the end of the input. It is known that there are no more than 1000 pupils in the school.
Output
Print the average weight of pupils in the school without taking into account the students with two largest and two smallest weights. Print the answer rounded to kilograms.