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