from decimal import Decimal n = int(input()) l = [Decimal(input()) for i in range(n)] print("{:.10f}".format(sum(l)))