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