import decimal j=input print("{0:.10f}".format(sum(decimal.Decimal(j()) for i in range(int(j())))))