n = int(input()) ans = 0 for i in range(n): ans += round(10**10 * float(input())) print(ans/(10**10))