l = list(map(int,input().split())) l.sort() ans = 0 for i in range(1,6): ans += l[i] print(f'{ans/4:.02f}')