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