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