while True:
try:
l = list(map(int,input().split()))
l.remove(max(l))
l.remove(min(l))
s = 0
for i in l:
s = s + i
p = s / 5
print(f'{p:.2f}')
except EOFError:
break

京公网安备 11010502036488号