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