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