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