from decimal import* print('{:.10f}'.format(eval("+Decimal(input())"*int(input()))))