from decimal import Decimal N = int(input()) res = sum(Decimal(input()) for i in range(N)) print(f"{res:.10f}")