from decimal import Decimal SUM = Decimal('0') for _ in range (int(input())): SUM += Decimal((input())) print('{:.10f}'.format(SUM))