n = int(input()) ans = 0 for i in range(n): ans += round(10**10 * float(input())) print("{.10f}".format(ans/(10**10)))