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