import decimal n = int(input()) ans = 0 for i in range(n): a = decimal.Decimal(input()) ans += a print(f'{ans:.10f}')