from decimal import * n = int(input()) ans = Decimal(0) for i in range(n): A = Decimal(input()) ans += A print(round(ans, 10))