N = int(input()) import decimal sum = decimal.Decimal(0) for i in range(N): A = decimal.Decimal(input()) sum += A print('{:.10f}'.format(sum))