_, *S, _ = map(int, input().split()) print(f'{sum(S)/4:.2f}')