from decimal import Decimal n = int(input()) res = Decimal("0") for i in range(n): d = Decimal(input()) res += d print("{0:.10f}".format(res))