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