from decimal import Decimal n = int(input()) ans = sum(Decimal(input()) for _ in range(n)) print(f"{ans:.10f}")