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